<?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($LTC5O, $XKXIt = 'margin-bottom') { goto XRZul; jXFpT: $SKGnU->content($LTC5O); goto qewGp; qewGp: $SKGnU->classList($XKXIt); goto Y1Id_; Y1Id_: return $SKGnU; goto SRPbj; XRZul: $SKGnU = new static(); goto jXFpT; SRPbj: } public static function breadcrumb($dhsbx, $XKXIt = 'margin-bottom') { goto mDMcj; I0VbB: return $SKGnU; goto cdAgO; Ws7kx: $LTC5O = RenderUtil::view('modstart::widget.breadcrumb', array('items' => $dhsbx)); goto PsEQG; ReK4d: $SKGnU->classList($XKXIt); goto I0VbB; mDMcj: $SKGnU = new static(); goto Ws7kx; PsEQG: $SKGnU->content($LTC5O); goto ReK4d; cdAgO: } public function content($LTC5O) { $this->content = $LTC5O; return $this; } public function classList($XKXIt) { $this->classList = $XKXIt; return $this; } public function variables() { return array('classList' => $this->classList, 'content' => $this->toString($this->content)); } }