PHP 클래스 app\models\Article

상속: extends yii\base\Model
파일 보기 프로젝트 열기: spatie-custom/blender 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$mediaLibraryCollections
$translatable

보호된 프로퍼티들

프로퍼티 타입 설명
$with

공개 메소드들

메소드 설명
children ( ) : Illuminate\Database\Eloquent\Relations\HasMany
getFirstChildAttribute ( ) : Article
getFullUrlAttribute ( ) : string
getSiblingsAttribute ( ) : Collection
hasChildren ( ) : boolean
hasParent ( ) : boolean
isSpecialArticle ( ) : boolean
parent ( ) : BelongsTo
registerMediaConversions ( )

메소드 상세

children() 공개 메소드

public children ( ) : Illuminate\Database\Eloquent\Relations\HasMany
리턴 Illuminate\Database\Eloquent\Relations\HasMany

getFirstChildAttribute() 공개 메소드

public getFirstChildAttribute ( ) : Article
리턴 Article

getFullUrlAttribute() 공개 메소드

public getFullUrlAttribute ( ) : string
리턴 string

getSiblingsAttribute() 공개 메소드

public getSiblingsAttribute ( ) : Collection
리턴 Illuminate\Support\Collection

hasChildren() 공개 메소드

public hasChildren ( ) : boolean
리턴 boolean

hasParent() 공개 메소드

public hasParent ( ) : boolean
리턴 boolean

isSpecialArticle() 공개 메소드

public isSpecialArticle ( ) : boolean
리턴 boolean

parent() 공개 메소드

public parent ( ) : BelongsTo
리턴 Illuminate\Database\Eloquent\Relations\BelongsTo

registerMediaConversions() 공개 메소드

프로퍼티 상세

$mediaLibraryCollections 공개적으로 프로퍼티

public $mediaLibraryCollections

$translatable 공개적으로 프로퍼티

public $translatable

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

protected $with