public function __construct(Project $project) { parent::__construct(); $this->_id = null; $this->_date = null; $this->_duration = null; $this->_label = ''; $this->_description = ''; $this->_output = ''; $this->_releaseFile = ''; $this->_specialTasks = $project->getSpecialTasks(); $this->_status = self::STATUS_FAIL; $this->_scmRevision = ''; $this->_ptrProject = $project; }