<?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($DTnPC, $xCTpZ = 'margin-bottom') { goto OoT8u; OoT8u: $o5T8w = new static(); goto jJz2q; imN7Z: return $o5T8w; goto DaSSh; FMuDV: $o5T8w->classList($xCTpZ); goto imN7Z; jJz2q: $o5T8w->content($DTnPC); goto FMuDV; DaSSh: } public static function breadcrumb($NXm6t, $xCTpZ = 'margin-bottom') { goto BWUDd; DXTtS: return $o5T8w; goto YAw4a; BWUDd: $o5T8w = new static(); goto dGHfj; kqioD: $o5T8w->content($DTnPC); goto HM_9c; HM_9c: $o5T8w->classList($xCTpZ); goto DXTtS; dGHfj: $DTnPC = RenderUtil::view('modstart::widget.breadcrumb', array('items' => $NXm6t)); goto kqioD; YAw4a: } public function content($DTnPC) { $this->content = $DTnPC; return $this; } public function classList($xCTpZ) { $this->classList = $xCTpZ; return $this; } public function variables() { return array('classList' => $this->classList, 'content' => $this->toString($this->content)); } }