$_deletedRow
$_deletedRow : array
削除するデータ保持用配列
WorkflowComment Behavior
beforeValidate(\Model $model, array $options = array()) : mixed
beforeValidate is called before a model is validated, you can use this callback to add behavior validation rules into a models validate array. Returning false will allow you to make the validation fail.
\Model | $model | Model using this behavior |
array | $options | Options passed from Model::save(). |
False or null will abort the operation. Any other result will continue.
afterSave(\Model $model, boolean $created, array $options = array()) : boolean
afterSave is called after a model is saved.
\Model | $model | Model using this behavior |
boolean | $created | True if this save created a new record |
array | $options | Options passed from Model::save(). |
beforeDelete(\Model $model, boolean $cascade = true) : mixed
Before delete is called before any delete occurs on the attached model, but after the model's beforeDelete is called. Returning false from a beforeDelete will abort the delete.
\Model | $model | Model using this behavior |
boolean | $cascade | If true records that depend on this record will also be deleted |
False if the operation should abort. Any other result will continue.