run() публичный Метод

This is the main entry of the whole detail view rendering.
public run ( )
Пример #1
0
 public function run()
 {
     echo '<div class="panel panel-default panel-view">';
     if ($this->title) {
         echo '<div class="panel-heading">' . $this->title . '</div>';
     }
     echo '<div class="panel-body">';
     parent::run();
     echo '</div>';
     if ($this->footer) {
         echo '<div class="panel-footer">' . $this->footer . '</div>';
     }
     echo '</div>';
 }