프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$callable | |||
$defaultParams | |||
$storeToDb | |||
$storedValue |
메소드 | 설명 | |
---|---|---|
__construct ( string $name = null, |
||
getDbValue ( ) | ||
getValue ( array $params = [], boolean $processCallbacks = true ) | Get attribute value | |
setCallable ( $callable ) | Set dynamic attribute function | |
setStoreToDb ( ) | ||
setValue ( null $value = null, boolean $fromDb = false ) | Set attribute value | |
toArray ( $fields = [], $params = [] ) |
메소드 | 설명 | |
---|---|---|
validate ( &$value ) | Perform validation against given value |
public __construct ( string $name = null, |
||
$name | string | |
$parent | ||
$callable | callable |