Milestone Class Reference
List of all members.
Member Function Documentation
Milestone::getActivity |
( |
|
) |
|
Milestone::getComment |
( |
|
) |
|
Milestone::getDescription |
( |
|
) |
|
Returns the description of this Milestone
- Returns:
- string The description of this Milestone
Milestone::getEditedBy |
( |
|
) |
|
Milestone::getEndDate |
( |
|
) |
|
Milestone::getEndUser |
( |
|
) |
|
Returns the revision id of this Milestone
- Returns:
- integer The revision id of this Milestone
Milestone::getLeaders |
( |
|
) |
|
Returns the People who leads this Milestone
- Returns:
- array The People who leads this Milestone
Milestone::getMilestoneId |
( |
|
) |
|
Milestone::getModification |
( |
|
) |
|
Returns the modification of this Milestone
- Returns:
- string The modification of this Milestone
Returns the parent of this Milestone (Lazy to help avoid potential infinite loops, and to improve performance on Object construction)
- Returns:
- Milestone the parent of this Milestone
Returns the People involved in this Milestone revision
- Returns:
- array The People involved in this Milestone revision
Milestone::getPeopleText |
( |
|
) |
|
Returns the People involved in this Milestone revision
- Returns:
- array The People involved in this Milestone revision
Milestone::getProject |
( |
|
) |
|
Milestone::getProjectedEndDate |
( |
|
) |
|
Returns the projected end date of this Milestone
- Returns:
- string The projected end date of this Milestone
Milestone::getQuarters |
( |
|
) |
|
Returns which quarters of for each year this milestone is to take place
- Returns:
- array The quarters for each year
Milestone::getRevisionByDate |
( |
$ |
date |
) |
|
Returns the Milestone revision closest to the given date
- Parameters:
-
| string | $date The date of the revision |
- Returns:
- Milestone The revision closest to the given date
Milestone::getStartDate |
( |
|
) |
|
Milestone::getVeryStartDate |
( |
|
) |
|
Returns the start date of the very first revision of this Milestone NOTE: This method may be slow if there are many revisions
- Returns:
- string The start date of the very first revision of this Milestone
Milestone::newFromId |
( |
$ |
milestone_id, |
|
|
$ |
id = 2147483647 | |
|
) |
| | |
Creates a Milestone from the given milestone_id and id
- Parameters:
-
| integer | $milestone_id The id of the milestone |
| integer | $id The id of the revision (optional) |
- Returns:
- Milestone The milestone
Milestone::newFromIndex |
( |
$ |
id = 2147483647 |
) |
|
Creates a Milestone from the given revision id
- Parameters:
-
| integer | $id The id of the revision |
- Returns:
- Milestone The milestone
Milestone::newFromTitle |
( |
$ |
milestone_title, |
|
|
$ |
id = 2147483647 | |
|
) |
| | |
Member Data Documentation
Milestone::$endUsers [static] |
Initial value: array("",
"Researchers",
"Policymakers",
"Government Officials",
"Funders",
"Media",
"General Public",
"Other")
Milestone::$fesStatuses [static] |
Initial value: array("New" => "#BBBBBB",
"Completed" => "#3399FF",
"Pending" => "#55BB55",
"Abandoned" => "#FF6666")
Milestone::$modifications [static] |
Initial value: array("" => "transparent",
"Revised" => "#0000FF",
"Postponed" => "#FF0000")
Milestone::$statuses [static] |
Initial value: array("New" => "#BBBBBB",
"Completed" => "#3399FF",
"On Going" => "#55BB55",
"Late" => "#FFDD00",
"Problem" => "#FF8800",
"Abandoned" => "#FF6666")
The documentation for this class was generated from the following file:
- extensions/GrandObjects/Milestone.php