Class P3WidgetContainer
Component which dynamically creates widgets
UNIVERSAL_VALUE will be always selected
Detailed info
<?php
$this->widget(
'p3widgets.components.P3WidgetContainer',
array(
'id'=>'main',
#'checkAccess'=>false //disables checkAccess feature
)
);
?>
- CComponent
-
CBaseController
-
CWidget
-
P3WidgetContainer
Copyright: Copyright © 2005-2010 diemeisterei GmbH
License: http://www.phundament.com/license/
Author: Tobias Munk <schmunk@usrbin.de>
Version: $Id$
Since: 3.0
Located at phundament/p3widgets/components/P3WidgetContainer.php
Methods summary
public
|
|
public
|
|
public
|
Methods inherited from CWidget
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
setId()
Methods inherited from CBaseController
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
Methods inherited from CComponent
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
Magic methods summary
Constants summary
string |
CONTAINER_CSS_PREFIX
|
'container-' |
|
string |
WIDGET_CSS_PREFIX
|
'widget-' |
|
string |
UNIVERSAL_VALUE
|
"_ALL" |
|
string |
PLACEHOLDER
|
'{WIDGET_CONTENT}' |
Properties summary
public
string
|
$varyByRequestParam |
#
Defines $_GET parameter for widget queries |
public
string
|
$checkAccess |
#
Parameter for User checkAccess() to enable frontend editing, set to 'false' if you want to disable this feature |
public
type
|
$controlPosition |
#
Wheter to render the controls on 'top' or on 'bottom' of the container |
Properties inherited from CWidget
$actionPrefix,
$skin
Magic properties inherited from CWidget
$controller,
$id,
$owner,
$viewPath