/** * Display details for a project in plain text. * @param PROJECT $obj */ protected function _display_as_plain_text($obj) { parent::_display_as_plain_text($obj); }
/** * Outputs the object as plain text. * @param ALBUM $obj * @access private */ protected function _display_as_plain_text($obj) { if (!$obj->is_organizational()) { $f = $obj->first_day->formatter(); $f->clear_flags(); echo $this->line($obj->format_date($obj->first_day, $f) . ' - ' . $obj->format_date($obj->last_day, $f)); } parent::_display_as_plain_text($obj); }