Renders a lead.
Statuses which may be returned in the "status" parameter:
Protected Member Functions | |
_render ($lead) | |
Renders a lead. More... | |
_renderStub ($lead) | |
Renders a lead stub. More... | |
|
protected |
Renders a lead.
The activitiesCount field represents the number of activities associated with the lead. It is indexed by activity statuses.
So, for example, activitiesCount["-1"]
is the number of overdue activities associated with the lead.
The nextStepDueTime field is used by Nutshell to determine whether the lead is overdue (and therefore what color the lead's pie chart should be).
The name field is a unique string identifying the lead to users on the Nutshell website. The number contained in this string is not necessarily the same as the lead ID, which is invisible to users. Use the Core::findLeads() method with the "number" query parameter to retrieve the lead corresponding to a name.
|
protected |
Renders a lead stub.