PHP 클래스 Xpressengine\Category\Models\CategoryItem

저자: XE Developers ([email protected])
상속: extends Xpressengine\Support\Tree\Node
파일 보기 프로젝트 열기: xpressengine/xpressengine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$timestamps boolean Indicates if the model should be timestamped.

보호된 프로퍼티들

프로퍼티 타입 설명
$closureTable string The pivot table associated with the model.
$fillable array The attributes that are mass assignable.
$table string The table associated with the model.

공개 메소드들

메소드 설명
category ( ) : BelongsTo Alias aggregator
getAggregatorKeyName ( ) : string Get the aggregator key name for model
getAggregatorModel ( ) : string Get the aggregator model name for model
getAncestorName ( ) : string Get the ancestor key name of pivot table
getChildren ( ) : Illuminate\Database\Eloquent\Collection Get a children collection of model
getClosureTable ( ) : string Get the pivot table for model's hierarchy
getDepthName ( ) : string Get the depth key name of pivot table
getDescendantName ( ) : string Get the descendant key name of pivot table
getOrderKeyName ( ) : string Get the order key name for model
getParentIdName ( ) : string Get the parent key name for model

메소드 상세

category() 공개 메소드

Alias aggregator
public category ( ) : BelongsTo
리턴 Illuminate\Database\Eloquent\Relations\BelongsTo

getAggregatorKeyName() 공개 메소드

Get the aggregator key name for model
public getAggregatorKeyName ( ) : string
리턴 string

getAggregatorModel() 공개 메소드

Get the aggregator model name for model
public getAggregatorModel ( ) : string
리턴 string

getAncestorName() 공개 메소드

Get the ancestor key name of pivot table
public getAncestorName ( ) : string
리턴 string

getChildren() 공개 메소드

Get a children collection of model
public getChildren ( ) : Illuminate\Database\Eloquent\Collection
리턴 Illuminate\Database\Eloquent\Collection

getClosureTable() 공개 메소드

Get the pivot table for model's hierarchy
public getClosureTable ( ) : string
리턴 string

getDepthName() 공개 메소드

Get the depth key name of pivot table
public getDepthName ( ) : string
리턴 string

getDescendantName() 공개 메소드

Get the descendant key name of pivot table
public getDescendantName ( ) : string
리턴 string

getOrderKeyName() 공개 메소드

Get the order key name for model
public getOrderKeyName ( ) : string
리턴 string

getParentIdName() 공개 메소드

Get the parent key name for model
public getParentIdName ( ) : string
리턴 string

프로퍼티 상세

$closureTable 보호되어 있는 프로퍼티

The pivot table associated with the model.
protected string $closureTable
리턴 string

$fillable 보호되어 있는 프로퍼티

The attributes that are mass assignable.
protected array $fillable
리턴 array

$table 보호되어 있는 프로퍼티

The table associated with the model.
protected string $table
리턴 string

$timestamps 공개적으로 프로퍼티

Indicates if the model should be timestamped.
public bool $timestamps
리턴 boolean