Class InlineRelationshipsWidget
Widget class for the relationships form.
Relationships lists the relationships a model has with other models, and provides a way to add existing models to the models relationships.
- CComponent
- CBaseController
- CWidget
- X2Widget
- SortableWidget
- GridViewWidget
- InlineRelationshipsWidget
Package: application\components\sortableWidget
Located at x2engine/protected/components/sortableWidget/recordViewWidgets/InlineRelationshipsWidget.php
Located at x2engine/protected/components/sortableWidget/recordViewWidgets/InlineRelationshipsWidget.php
public static
|
|
public
|
|
public
|
|
public
|
|
public
|
#
renderWidgetLabel( )
Renders the widget label saved in the profile JSON widget settings property This gets called if {widgetLabel} is contained in the template string. |
public
string
|
|
public
|
|
public
array
|
|
protected
string
|
|
public
|
getAjaxUpdateRouteAndParams(),
getGridViewConfig(),
getJSSortableWidgetParams(),
getTranslations()
|
__construct(),
ajaxRender(),
behaviors(),
getModule(),
renderFile(),
setModule()
|
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderInternal(),
widget()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
PROFILE_WIDGET_PATH_ALIAS,
RECORD_VIEW_WIDGET_PATH_ALIAS
|
public
string
|
$viewFile | '_inlineRelationshipsWidget' |
#
The name of the view file containing the widget contents |
public
mixed
|
$model |
|
|
public
string
|
$template | '<div class="submenu-title-bar widget-title-bar">{widgetLabel}{titleBarButtons}{closeButton}{minimizeButton}{settingsMenu}</div>{widgetContents}' |
#
A mixture of html and attributes inside curly braces. This gets used by renderWidget to render widget elements specified in child classes. As with X2GridView, each attribute inside curly braces should have a corresponding method called render<attribute_name>. |
public
array
|
$defaultsByRelatedModelType | array () |
#
Used to prepopulate create relationship forms |
protected
boolean
|
$compactResultsPerPage | true |
$_dataProvider,
$sortableWidgetJSClass
|
$_module
|
$actionPrefix,
$skin
|
$module
|
$controller,
$id,
$owner,
$viewPath
|