Devise
Class

Field

class Field extends Eloquent

Methods

belongsTo pageVersion()

This field belongs to a page

FieldValue getValueAttribute()

Accessor on this model to get value for the latestVersion of this field

FieldValue getValuesAttribute()

Sometimes we've been using values instead of value so this is here for backwards compatability support

[type] getScopeAttribute()

Let's us know if the scope of this field is global or page

Details

at line 24
public belongsTo pageVersion()

This field belongs to a page

Return Value

belongsTo

at line 35
public FieldValue getValueAttribute()

Accessor on this model to get value for the latestVersion of this field

Return Value

FieldValue

at line 48
public FieldValue getValuesAttribute()

Sometimes we've been using values instead of value so this is here for backwards compatability support

Return Value

FieldValue

at line 58
public [type] getScopeAttribute()

Let's us know if the scope of this field is global or page

Return Value

[type] [description]