childrenCompleted() public method

Returns whether all sub tasks are completed.
public childrenCompleted ( ) : boolean
return boolean True if all sub tasks are completed.
コード例 #1
0
ファイル: Task.php プロジェクト: horde/horde
 public function setTask(Nag_Task $task)
 {
     $this->_task = $task;
     if (!$this->_task->childrenCompleted()) {
         $this->_completedVar->disable();
     }
 }