PHP Класс Encore\Admin\Tree

Наследование: implements Illuminate\Contracts\Support\Renderable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$elementId
$items
$model
$script

Открытые методы

Метод Описание
__construct ( Model $model = null )
__toString ( ) : string Get the string contents of the grid view.
render ( ) : Illuminate\Http\JsonResponse | string Render a tree.
saveTree ( string $serialize ) : boolean Build menu tree presented by array.
variables ( ) : array Variables in tree template.

Защищенные методы

Метод Описание
buildupScript ( ) : void Build tree grid scripts.

Описание методов

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

public __construct ( Model $model = null )
$model Illuminate\Database\Eloquent\Model

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

Get the string contents of the grid view.
public __toString ( ) : string
Результат string

buildupScript() защищенный Метод

Build tree grid scripts.
protected buildupScript ( ) : void
Результат void

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

Render a tree.
public render ( ) : Illuminate\Http\JsonResponse | string
Результат Illuminate\Http\JsonResponse | string

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

Build menu tree presented by array.
public saveTree ( string $serialize ) : boolean
$serialize string
Результат boolean

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

Variables in tree template.
public variables ( ) : array
Результат array

Описание свойств

$elementId защищенное свойство

protected $elementId

$items защищенное свойство

protected $items

$model защищенное свойство

protected $model

$script защищенное свойство

protected $script