Chumper\Datatable\Table::script PHP Метод

script() публичный Метод

public script ( null $view = null ) : mixed
$view null
Результат mixed
    public function script($view = null)
    {
        if (!is_null($view)) {
            $this->script_view = $view;
        }
        // create mapping for frontend
        if (!$this->createdMapping) {
            $this->createMapping();
        }
        return View::make($this->script_view, array('options' => $this->options, 'callbacks' => $this->callbacks, 'id' => $this->idName));
    }