Метод |
Описание |
|
__construct ( $name, array $attributes = [] ) |
|
|
__get ( $name ) |
|
|
__isset ( $name ) |
|
|
__set ( $n, $v ) |
|
|
__set_state ( $hash ) |
|
|
canonicalizeValue ( mixed &$value, BaseModel $record = null, array $args = null ) : mixed |
Canonicalize a value before updating or creating. |
|
checkTypeConstraint ( $value ) |
|
|
deflate ( mixed $value, BaseDriver $driver = null ) |
deflate value. |
|
display ( $value ) |
|
|
get ( $name ) |
|
|
getDefaultValue ( $record = null, $args = null ) |
|
|
getIterator ( ) |
For iterating attributes. |
|
getLabel ( ) |
|
|
getName ( ) |
|
|
getOptionValues ( $record = null, $args = null ) |
|
|
getValidValues ( $record = null, $args = null ) |
For an existing record, we might need the record data to return specified valid values. |
|
has ( $name ) |
|
|
inflate ( $value, $record ) |
|
|
typeCasting ( mixed $value ) : mixed |
Column value type casting for input values. |
|