public function displayTasks() { if (!isset($this->_tasklist) || $this->_tasklist === true) { return; } return $this->_tasklist->needDisplay(true); }