PHP 클래스 Xpressengine\Category\Models\Category

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

공개 프로퍼티들

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
getCountName ( ) : string Get the count name for model
getItemModel ( ) : string Get the category item model
getProgenitors ( ) : Illuminate\Database\Eloquent\Collection Get category items of root level
setItemModel ( string $model ) : void Set the category item model

메소드 상세

getCountName() 공개 메소드

Get the count name for model
public getCountName ( ) : string
리턴 string

getItemModel() 공개 메소드

Get the category item model
public getItemModel ( ) : string
리턴 string

getProgenitors() 공개 메소드

Get category items of root level
public getProgenitors ( ) : Illuminate\Database\Eloquent\Collection
리턴 Illuminate\Database\Eloquent\Collection

setItemModel() 공개 정적인 메소드

Set the category item model
public static setItemModel ( string $model ) : void
$model string model name
리턴 void

프로퍼티 상세

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

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

$itemModel 보호되어 있는 정적으로 프로퍼티

Category item model
protected static string $itemModel
리턴 string

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

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

$timestamps 공개적으로 프로퍼티

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