/**
  * Used to draw the entry's title in each cell.
  * @param CONTENT_OBJECT $obj
  * @return TITLE_FORMATTER
  * @access private
  */
 public function title_formatter($obj)
 {
     $Result = $obj->title_formatter();
     $Result->max_visible_output_chars = 0;
     if (!empty($this->app->search_text)) {
         $Result->add_argument('search_text', $this->app->search_text);
     }
     return $Result;
 }
 /**
  * @param CONTENT_OBJECT $obj
  * @param MAIL_OBJECT_RENDERER_OPTIONS $options
  * @access private
  */
 protected function _echo_text_content($obj, $options)
 {
     $f = $obj->title_formatter();
     $f->max_visible_output_chars = 0;
     echo $this->line($obj->title_as_plain_text($f));
     echo $this->sep();
     echo $this->line($obj->object_url_as_text($this->app->mail_options->object_separator));
     echo $this->line('<' . $obj->home_page() . '>');
     echo $this->sep();
     $renderer = $obj->handler_for(Handler_text_renderer, $options);
     $renderer->display($obj);
 }
Example #3
0
 public function title_formatter()
 {
     $Result = parent::title_formatter();
     $Result->title = $this->real_name();
     return $Result;
 }
 /**
  * @return TITLE_FORMATTER
  */
 public function title_formatter()
 {
     $Result = parent::title_formatter();
     if ($this->invisible()) {
         $Result->css_class = 'invisible';
     } else {
         $Result->css_class = 'visible';
     }
     return $Result;
 }