PHP Class DvsField

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

Méthodes publiques

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

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
pageVersion ( ) : belongsTo This field belongs to a page

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

pageVersion() public méthode

This field belongs to a page
public pageVersion ( ) : belongsTo
Résultat belongsTo

Property Details

$_value protected_oe property

protected $_value

$appends protected_oe property

protected $appends

$dates protected_oe property

protected $dates

$dvs_type public_oe property

public $dvs_type

$guarded protected_oe property

protected $guarded

$softDelete protected_oe property

protected $softDelete

$table protected_oe property

protected $table