Свойство | Type | Description | |
---|---|---|---|
$_defaults | Behavior defaults |
Méthode | Description | |
---|---|---|
beforeFind ( Model $Model, $queryData ) | Hash condition when it contains a field specified in setting | |
beforeSave ( Model $Model, $options = [] ) | Hash field when present in model data (POSTed data) | |
setup ( Model $Model, $config = [] ) | Setup behavior |
public beforeFind ( Model $Model, $queryData ) | ||
$Model | Model |
public beforeSave ( Model $Model, $options = [] ) | ||
$Model | Model |