_addTitleElement(); $this->_addTypeElement(); $this->_addDurationElement(); $this->_addLocationElement(); $this->_addCommitteeElement(); $this->_addAgendaElement(); $this->_addShowElement(); return $this; } protected function _getDuration() { return 1; } protected function _addTypeElement() { $this->addElement('hidden', 'type', array('value' => Obj::TYPE_COMMITTEE)); return $this; } protected function _addDurationElement() { $this->addElement('hidden', 'durationType', array('value' => Obj::DURATION_SINGLE)); $this->addElement('date', 'startDate', array('label' => 'Date', 'required' => true)); $this->addElement('timeRanges', 'timeRanges', array('label' => 'Time', 'count' => 1, 'required' => true)); return $this; } protected function _addCommitteeElement() { $this->addElement('hidden', 'committeeId', array('value' => Obj::TYPE_COMMITTEE)); return $this; } }