<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Grid\Displayer; use Illuminate\Contracts\Support\Renderable; use Illuminate\Support\Fluent; use ModStart\Grid\Grid; use ModStart\Support\Concern\HasFluentAttribute; abstract class AbstractDisplayer implements Renderable { use HasFluentAttribute; protected static $css = array(); protected static $js = array(); protected $grid; protected $fluentAttributes = array(); public function __construct(Grid $TzF5r) { $this->grid = $TzF5r; } public abstract function render(); public function __call($fSCUf, $g59Hh) { if ($this->isFluentAttribute($fSCUf)) { return $this->fluentAttribute($fSCUf, $g59Hh); } throw new \Exception('AbstractDisplayer __call error : ' . $fSCUf . ' ' . join(',', $this->fluentAttributes)); } }