PHP Class DvsPageVersion

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

Protected Properties

Property Type Description
$guarded
$softDelete
$table

Public Methods

Method 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 method

Page version has many collection fields
public collectionFields ( )

collectionInstances() public method

Page version has many collection instances
public collectionInstances ( )

fields() public method

Page version has many fields
public fields ( )

getValuesAttribute() public method

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

page() public method

Page versions belong to a page
public page ( ) : belongsTo
return belongsTo Page

Property Details

$guarded protected_oe property

protected $guarded

$softDelete protected_oe property

protected $softDelete

$table protected_oe property

protected $table