PHP Class DvsGlobalField

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

Méthodes publiques

Méthode 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 méthode

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

getValueAttribute() public méthode

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

getValuesAttribute() public méthode

Sometimes we've been using values instead of value so this is here for backwards compatability support
public getValuesAttribute ( ) : FieldValue
Résultat 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