Method | Description | |
---|---|---|
__get ( $attr ) | ||
__isset ( $key ) | ||
__set ( $key, $value ) | ||
__unset ( $key ) | ||
getAttribute ( string $key ) : mixed | Get an attribute from the model. | |
getMeta ( $key = null, $raw = false ) | Get Meta Data functions ------------------------- | |
scopeMeta ( $query ) | Meta scope for easier join ------------------------- | |
setMeta ( $key, $value = null ) | Set Meta Data functions ------------------------- | |
toArray ( ) : array | Convert the model instance to an array. | |
unsetMeta ( $key ) | Unset Meta Data functions ------------------------- | |
whereMeta ( $key, $value ) | Query Meta Table functions ------------------------- |
Method | Description | |
---|---|---|
getMetaArray ( $keys, $raw = false ) | ||
getMetaData ( ) | ||
getMetaKeyName ( ) : string | Return the foreign key name for the meta table | |
getMetaNull ( ) | ||
getMetaString ( $key, $raw = false ) | ||
getMetaTable ( ) : null | Return the table name | |
getModelKey ( ) : string | Return the key for the model | |
getModelStub ( ) | ||
saveMeta ( ) | ||
setMetaArray ( ) | ||
setMetaString ( $key, $value ) | ||
setObserver ( ) | Trait specific functions ------------------------- | |
unsetMetaArray ( ) | ||
unsetMetaString ( $key ) |
public getAttribute ( string $key ) : mixed | ||
$key | string | |
return | mixed |
public getMeta ( $key = null, $raw = false ) |
protected getMetaKeyName ( ) : string | ||
return | string |
protected getModelKey ( ) : string | ||
return | string |
public scopeMeta ( $query ) |
public setMeta ( $key, $value = null ) |
protected setObserver ( ) |
public unsetMeta ( $key ) |
public whereMeta ( $key, $value ) |