API documentation

Task Class Reference

Description

Renders a task.

Protected Member Functions

 _render ($task)
 Renders a task. More...
 

Member Function Documentation

_render (   $task)
protected

Renders a task.

Example of completed task:

{
"id": 371,
"title": "Determine main contact address",
"entityType": "Tasks",
"rev": "1",
"description": "Get city, state, and zip of main contact",
"createdTime": "2012-08-11T13:30:16+0000",
"creator": User,
"dueTime": "2010-08-14T13:30:16+0000",
"completedTime": "2010-07-16T15:31:23+0000",
"completedUser": {
"stub": true,
"id": 9,
"entityType": "Users",
"rev": "0",
"name": "Tyler Tate"
},
"assignee": [User, Team],
"entity": [Lead, ...] // stubs
}

Example of an incomplete task:

{
"id": 371,
"title": "Determine main contact address",
"entityType": "Tasks",
"rev": "1",
"description": "Get city, state, and zip of main contact",
"createdTime": "2012-08-11T13:30:16+0000",
"creator": User,
"dueTime": "2012-08-14T13:30:16+0000",
"completedTime": null,
"completedUser": null,
"assignee": [User, Team],
"entity": [Lead, ...] // stubs
}
Returns
array