IPropertyConfig
Defines an object that can be used as configuration for the PropertyFactory
Table of Contents
getConfig() | Retrieve the config array | array |
---|---|---|
getPropertyNames() | Retrieve a list of property names defined via this config | array |
beforeSave() | Called via SaveableMappingObjectFactory, and happens as part of the beforeSave event. | void |
afterSave() | Called via SaveableMappingObjectFactory, and happens as part of the afterSave event. | void |
Methods
getConfig()
Retrieve the config array
public
getConfig(
)
: array
Return values
array —config
getPropertyNames()
Retrieve a list of property names defined via this config
public
getPropertyNames(
)
: array
Return values
array —names
beforeSave()
Called via SaveableMappingObjectFactory, and happens as part of the beforeSave event.
public
beforeSave(
$model :
IModel
)
: void
Parameters
- $model : IModel
Model being saved
afterSave()
Called via SaveableMappingObjectFactory, and happens as part of the afterSave event.
public
afterSave(
$model :
IModel
)
: void
Parameters
- $model : IModel
Model being saved