Returns whether all sub tasks are completed.
public childrenCompleted ( ) : boolean | ||
리턴 | boolean | True if all sub tasks are completed. |
public function setTask(Nag_Task $task) { $this->_task = $task; if (!$this->_task->childrenCompleted()) { $this->_completedVar->disable(); } }