/** * Add a folder as the current location. * The folder itself is displayed as text, while its parents are listed to the left * of it as links. * @see add_folder_link() * @param FOLDER $folder */ public function add_folder_text($folder) { $this->add_folder_link($folder->parent_folder()); $t = $folder->title_formatter(); $t->max_visible_output_chars = 0; $this->append($folder->title_as_html($t), '', $folder->icon_url); }