예제 #1
0
 public function run()
 {
     if (!empty($this->footer)) {
         $this->footer = Html::tag('div', $this->footer, ['class' => 'widget-footer']);
     }
     if (!empty($this->icon)) {
         $this->title = Icon::show($this->icon) . $this->title;
     }
     $this->params['title'] = $this->title;
     $this->params['header_append'] = $this->header_append;
     $this->params['footer'] = $this->footer;
     $this->params['_id'] = $this->getId();
     return parent::run();
 }
예제 #2
0
 /**
  * Ends the rendering of content.
  */
 public function endContent()
 {
     ContentDecorator::end();
 }