PHP Class DvsGlobalField

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
$_value
$appends
$dates
$guarded
$softDelete
$table

Public Methods

Method Description
getScopeAttribute ( ) : string Let's us know if the scope of this field is global or page
getValueAttribute ( ) : FieldValue Accessor on this model to get value for the latestVersion of this field
getValuesAttribute ( ) : FieldValue Sometimes we've been using values instead of value so this is here for backwards compatability support

Method Details

getScopeAttribute() public method

Let's us know if the scope of this field is global or page
public getScopeAttribute ( ) : string
return string

getValueAttribute() public method

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

getValuesAttribute() public method

Sometimes we've been using values instead of value so this is here for backwards compatability support
public getValuesAttribute ( ) : FieldValue
return FieldValue

Property Details

$_value protected_oe property

protected $_value

$appends protected_oe property

protected $appends

$dates protected_oe property

protected $dates

$guarded protected_oe property

protected $guarded

$softDelete protected_oe property

protected $softDelete

$table protected_oe property

protected $table