Records changes made to an object during save operations.
package |
AuditLog |
---|---|
subpackage |
Model.Behavior |
_auditHasToSave(string $permissionName, \Model $Model) : boolean
string
\Model
boolean
_calledFunctionNeedAudit(\Model $Model) : boolean
\Model
boolean
_getModelData(\Model $Model) : array
Additionally, for the HABTM data, all we care about is the IDs, so the data will be reduced to an indexed array of those IDs.
\Model
array
afterDelete(\Model $Model)
\Model
afterFind(\Model $Model, mixed $results, boolean $primary = false)
\Model
mixed
boolean
afterSave(\Model $Model, boolean $created, array $options = array()) : boolean
\Model
boolean
array
boolean
beforeDelete(\Model $Model, boolean $cascade = true) : boolean
\Model
boolean
boolean
beforeSave(\Model $Model, array $options = array()) : boolean
\Model
array
boolean
setup(\Model $Model, array $settings = array())
Available settings:
\Model
Model using the behavior
array
Settings overrides.
_original : array
var |
---|
array