childrenCompleted() public method

Returns whether all sub tasks are completed.
public childrenCompleted ( ) : boolean
return boolean True if all sub tasks are completed.
Example #1
0
File: Task.php Project: horde/horde
 public function setTask(Nag_Task $task)
 {
     $this->_task = $task;
     if (!$this->_task->childrenCompleted()) {
         $this->_completedVar->disable();
     }
 }