<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Widget; use ModStart\Core\Util\RenderUtil; class ContentBox extends AbstractWidget { protected $view = 'modstart::widget.contentBox'; protected $classList = ''; protected $content = ''; public static function make($cgjRu, $YWQWc = 'margin-bottom') { goto l7ikt; l7ikt: $fNHhl = new static(); goto tT_uK; CcJ6t: return $fNHhl; goto UpXmU; OyRES: $fNHhl->classList($YWQWc); goto CcJ6t; tT_uK: $fNHhl->content($cgjRu); goto OyRES; UpXmU: } public static function breadcrumb($aSut7, $YWQWc = 'margin-bottom') { goto pQwvo; dzrCl: $fNHhl->content($cgjRu); goto kbLsX; TnCNH: return $fNHhl; goto jwJQ_; KNQL2: $cgjRu = RenderUtil::view('modstart::widget.breadcrumb', array('items' => $aSut7)); goto dzrCl; pQwvo: $fNHhl = new static(); goto KNQL2; kbLsX: $fNHhl->classList($YWQWc); goto TnCNH; jwJQ_: } public function content($cgjRu) { $this->content = $cgjRu; return $this; } public function classList($YWQWc) { $this->classList = $YWQWc; return $this; } public function variables() { return array('classList' => $this->classList, 'content' => $this->toString($this->content)); } }