PHP Class app\models\Article

Inheritance: extends yii\base\Model
Afficher le fichier Open project: spatie-custom/blender Class Usage Examples

Méthodes publiques

Свойство Type Description
$mediaLibraryCollections
$translatable

Protected Properties

Свойство Type Description
$with

Méthodes publiques

Méthode Description
children ( ) : Illuminate\Database\Eloquent\Relations\HasMany
getFirstChildAttribute ( ) : Article
getFullUrlAttribute ( ) : string
getSiblingsAttribute ( ) : Collection
hasChildren ( ) : boolean
hasParent ( ) : boolean
isSpecialArticle ( ) : boolean
parent ( ) : BelongsTo
registerMediaConversions ( )

Method Details

children() public méthode

public children ( ) : Illuminate\Database\Eloquent\Relations\HasMany
Résultat Illuminate\Database\Eloquent\Relations\HasMany

getFirstChildAttribute() public méthode

public getFirstChildAttribute ( ) : Article
Résultat Article

getFullUrlAttribute() public méthode

public getFullUrlAttribute ( ) : string
Résultat string

getSiblingsAttribute() public méthode

public getSiblingsAttribute ( ) : Collection
Résultat Illuminate\Support\Collection

hasChildren() public méthode

public hasChildren ( ) : boolean
Résultat boolean

hasParent() public méthode

public hasParent ( ) : boolean
Résultat boolean

isSpecialArticle() public méthode

public isSpecialArticle ( ) : boolean
Résultat boolean

parent() public méthode

public parent ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

registerMediaConversions() public méthode

Property Details

$mediaLibraryCollections public_oe property

public $mediaLibraryCollections

$translatable public_oe property

public $translatable

$with protected_oe property

protected $with