/** * Outputs the object as HTML. * @param PICTURE $entry * @access private */ protected function _display_as_plain_text($entry) { $folder = $entry->parent_folder(); $f = $entry->date->formatter(); $f->clear_flags(); echo $this->line($folder->format_date($entry->date, $f)); echo $this->line('<' . $entry->full_file_name() . '>'); parent::_display_as_plain_text($entry); }
/** * Return the size of the object. * @param PICTURE $obj * @return integer * @access private */ protected function _size_of($obj) { return @filesize(url_to_file_name($obj->full_file_name(true))); }