<?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($Afv_G, $thHn0 = 'margin-bottom') { goto UqfoM; S7Aaj: return $qRCHN; goto IKy1m; PPnHc: $qRCHN->classList($thHn0); goto S7Aaj; a_n_f: $qRCHN->content($Afv_G); goto PPnHc; UqfoM: $qRCHN = new static(); goto a_n_f; IKy1m: } public static function breadcrumb($GCp0X, $thHn0 = 'margin-bottom') { goto L09qz; nXRX3: $Afv_G = RenderUtil::view('modstart::widget.breadcrumb', array('items' => $GCp0X)); goto ygJ1A; ygJ1A: $qRCHN->content($Afv_G); goto HjexP; L09qz: $qRCHN = new static(); goto nXRX3; HjexP: $qRCHN->classList($thHn0); goto koKmk; koKmk: return $qRCHN; goto iJ5KK; iJ5KK: } public function content($Afv_G) { $this->content = $Afv_G; return $this; } public function classList($thHn0) { $this->classList = $thHn0; return $this; } public function variables() { return array('classList' => $this->classList, 'content' => $this->toString($this->content)); } }