PHP Class DvsPageVersion

Inheritance: extends Illuminate\Database\Eloquent\Model, use trait Illuminate\Database\Eloquent\SoftDeletes
Afficher le fichier Open project: devisephp/cms Class Usage Examples

Protected Properties

Свойство Type Description
$guarded
$softDelete
$table

Méthodes publiques

Méthode Description
collectionFields ( ) Page version has many collection fields
collectionInstances ( ) Page version has many collection instances
fields ( ) Page version has many fields
getValuesAttribute ( ) : FieldValue Accessor on this model to get value for the latestVersion of this field
page ( ) : belongsTo Page versions belong to a page

Method Details

collectionFields() public méthode

Page version has many collection fields
public collectionFields ( )

collectionInstances() public méthode

Page version has many collection instances
public collectionInstances ( )

fields() public méthode

Page version has many fields
public fields ( )

getValuesAttribute() public méthode

Accessor on this model to get value for the latestVersion of this field
public getValuesAttribute ( ) : FieldValue
Résultat FieldValue

page() public méthode

Page versions belong to a page
public page ( ) : belongsTo
Résultat belongsTo Page

Property Details

$guarded protected_oe property

protected $guarded

$softDelete protected_oe property

protected $softDelete

$table protected_oe property

protected $table