Свойство | Тип | Описание | |
---|---|---|---|
$autoUpdate |
Метод | Описание | |
---|---|---|
getDbValue ( ) | ||
getValue ( $params = [], $asDateTimeObject = false, $processCallbacks = true ) | ||
setAutoUpdate ( boolean $flag = true ) |
Set auto update on or off If true, will update the attribute value with current date/datetime each time it's inserted into DB |
|
setValue ( $value = null, $fromDb = false ) |
Метод | Описание | |
---|---|---|
validate ( &$value ) | Perform validation against given value |
Метод | Описание | |
---|---|---|
setDefaultValueInternal ( ) | Set default attribute value |
public getValue ( $params = [], $asDateTimeObject = false, $processCallbacks = true ) |
public setAutoUpdate ( boolean $flag = true ) | ||
$flag | boolean |
protected validate ( &$value ) | ||
$value |