getChildren() 공개 메소드

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?
리턴 array List of sub-tasks.
예제 #1
0
 public function getChildren($parentId, $include_history = true)
 {
     return $this->_driver->getChildren($parentId, $include_history);
 }
예제 #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) {
     }
 }