/**
  * Outputs the object as plain text.
  * 
  * @param ICON $obj
  */
 protected function _display_as_plain_text($obj)
 {
     echo $obj->title_as_plain_text();
     if ($obj->category) {
         echo " ({$obj->category})";
     }
 }
示例#2
0
    /**
     * @param ICON $obj
     */
    private function _draw_thumbnail($obj)
    {
        ?>
    <div class="image-without-text">
      <img src="<?php 
        echo $obj->home_page();
        ?>
" alt="<?php 
        echo $obj->title_as_plain_text();
        ?>
">
    </div>
  <?php 
    }