示例#1
0
 /**
  *
  * {@inheritDoc}
  *
  * @see \Core\Html\Bootstrap\Panel\AbstractPanelElement::build()
  */
 public function build()
 {
     if (!empty($this->title)) {
         $this->inner = $this->title->build();
     }
     return parent::build();
 }
示例#2
0
 /**
  *
  * {@inheritDoc}
  *
  * @see \Core\Html\Bootstrap\Panel\AbstractPanelElement::build()
  */
 public function build()
 {
     $this->html->addCss('panel-' . $this->context);
     return parent::build();
 }