Class ActionsQuickCreateRelationshipBehavior
Provides utility methods for handling quick creation of records and relationships. This class involves the use of two models: The model associated with the owner of this behavior (referred to as 'the first model') and the model associated with the view from which the quick create ajax request was made (referred to as 'the second model').
- CComponent
- CBehavior implements IBehavior
- QuickCRUDBehavior
- QuickCreateRelationshipBehavior
- ActionsQuickCreateRelationshipBehavior
Package: application\components
Located at x2engine/protected/modules/actions/components/ActionsQuickCreateRelationshipBehavior.php
Located at x2engine/protected/modules/actions/components/ActionsQuickCreateRelationshipBehavior.php
public
|
#
renderInlineForm( object $model, array $viewParams = array () )
Renders an inline record create/update form |
getCreateUrlsForModels(),
getDialogTitlesForModels(),
getDialogTooltipsForModels(),
getModelsWhichSupportQuickCreate(),
quickCreate()
|
getModelsWhichSupportQuickView(),
getUrlsForModels()
|
attach(),
detach(),
events(),
getEnabled(),
getOwner(),
setEnabled()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
protected
string
|
$inlineFormPathAlias | 'application.modules.actions.views.actions._form' |
$attributesOfNewRecordToUpdate
|
$enabled,
$owner
|