Méthode | 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 ------------------------- |
Méthode | 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 | |
Résultat | mixed |
public getMeta ( $key = null, $raw = false ) |
protected getMetaKeyName ( ) : string | ||
Résultat | string |
protected getMetaTable ( ) : null | ||
Résultat | null |
protected getModelKey ( ) : string | ||
Résultat | string |
public scopeMeta ( $query ) |
public setMeta ( $key, $value = null ) |
protected setObserver ( ) |
public unsetMeta ( $key ) |
public whereMeta ( $key, $value ) |