PHP 클래스 Encore\Admin\Tree

상속: implements Illuminate\Contracts\Support\Renderable
파일 보기 프로젝트 열기: z-song/laravel-admin

보호된 프로퍼티들

프로퍼티 타입 설명
$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