Phundament App Class Reference
  • Package
  • Class
  • Tree

Packages

  • bootstrap
    • widgets
      • input
  • Image
  • None
  • p3admin
  • p3extensions
    • behaviors
    • commands
    • components
    • helpers
    • widgets
  • p3media
    • actions
    • controllers
    • models
  • p3pages
    • models
  • p3widgets
    • components
    • models
  • PHP
  • system
    • db
      • ar
    • gii
    • web
      • auth
      • helpers
      • widgets
  • yiiext
    • widgets
      • fancybox
      • lipsum
  • zii
    • widgets
      • grid

Classes

  • P3WidgetContainer

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
            )
    );
?>

DefaultController

CComponent
Extended by CBaseController
Extended by CWidget
Extended by P3WidgetContainer
Package: p3widgets\components
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
# init( )

Initializes the widget. This method is called by CBaseController::createWidget and CBaseController::beginWidget after the widget's properties have been initialized.

Initializes the widget. This method is called by CBaseController::createWidget and CBaseController::beginWidget after the widget's properties have been initialized.

Overrides

CWidget::init
public
# run( )

Query widgets

Query widgets

Overrides

CWidget::run
public
# handleError( mixed $errno, mixed $errstr, mixed $errfile, mixed $errline )

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

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

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

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

Phundament App Class Reference API documentation generated by ApiGen 2.8.0