getChildren() public method

Retrieves sub-tasks from the database.
public getChildren ( string $parentId, boolean $include_history = true ) : array
$parentId string The parent id for the sub-tasks to retrieve.
$include_history boolean Include created/modified info?
return array List of sub-tasks.
Ejemplo n.º 1
0
 public function getChildren($parentId, $include_history = true)
 {
     return $this->_driver->getChildren($parentId, $include_history);
 }
Ejemplo n.º 2
0
 /**
  * Loads all sub-tasks.
  *
  * @param
  */
 public function loadChildren($include_history = true)
 {
     try {
         $this->children = $this->_storage->getChildren($this->id, $include_history);
     } catch (Nag_Exception $e) {
     }
 }