/** * Return default handler objects for supported tasks. * @param string $handler_type Specific functionality required. * @param object $options * @return object * @access private */ protected function _default_handler_for($handler_type, $options = null) { switch ($handler_type) { case Handler_location: include_once 'projects/gui/project_entry_renderer.php'; return new PROJECT_ENTRY_LOCATION_RENDERER($this->context); case Handler_navigator: include_once 'projects/gui/project_entry_navigator.php'; return new PROJECT_ENTRY_NAVIGATOR($this); default: return parent::_default_handler_for($handler_type, $options); } }