Behaviours can catch events triggered on a Nos\Orm\Model
or on a instance of Nos\Orm\Model
.
dataset
(&$dataset)¶Trigger when fill dataset
of an item.
Parameters: |
|
---|
form_fieldset_fields
(&$config)¶Trigger when build a fieldset
from an item.
Parameters: |
|
---|
form_processing
($data, &$json_response)¶Trigger when receive a form
response.
Parameters: |
|
---|
wysiwygOptions
(&$options)¶Trigger when construct WYSIWYG options for an item.
Parameters: |
|
---|
gridQueryConfig
(&$config)¶Trigger when building a query configuration for a grid of model’s items.
Parameters: |
|
---|
New in version 4.3.
gridQuery
($config, &$query)¶Trigger when building a query for a grid of model’s items.
Parameters: |
|
---|
gridItem
($object, &$item)¶Trigger when building a grid’s item.
Parameters: |
|
---|
gridAfter
($config, $objects, &$items)¶Trigger after execute query for a grid of model’s items.
Parameters: |
|
---|
commonConfig
(&$config)¶Trigger when building a common configuration of a model.
Parameters: |
|
---|
crudConfig
(&$config, $controller)¶Trigger when building the configuration of the CRUD controller of the model.
Parameters: |
|
---|
crudFields
(&$fields, $controller)¶Trigger when building the fields for the CRUD controller of the model.
Parameters: |
|
---|
buildRelations
()¶Trigger when building relations of the model.
buildProviders
()¶Trigger when building providers of the model.
before_query
(&$options)¶Trigger before execute a query build on the model.
Parameters: |
|
---|