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

  • P3pagesModule
  • RAssignmentDataProvider

Class P3pagesModule

CWebModule represents an application module.

An application module may be considered as a self-contained sub-application that has its own controllers, models and views and can be reused in a different project as a whole. Controllers inside a module must be accessed with routes that are prefixed with the module ID.

CComponent
Extended by CModule
Extended by CWebModule
Extended by P3pagesModule
Package: system\web
Author: Qiang Xue <qiang.xue@gmail.com>
Version: $Id$
Located at phundament/p3pages/P3PagesModule.php

Methods summary

public
# init( )

Initializes the module. This method is called at the end of the module constructor. Note that at this moment, the module has been configured, the behaviors have been attached and the application components have been registered.

Initializes the module. This method is called at the end of the module constructor. Note that at this moment, the module has been configured, the behaviors have been attached and the application components have been registered.

See

CModule::preinit()

Overrides

CModule::init
public boolean
# beforeControllerAction( CController $controller, CAction $action )

The pre-filter for controller actions. This method is invoked before the currently requested controller action and all its filters are executed. You may override this method in the following way:

if(parent::beforeControllerAction($controller,$action))
{
    // your code
    return true;
}
else
    return false;

The pre-filter for controller actions. This method is invoked before the currently requested controller action and all its filters are executed. You may override this method in the following way:

if(parent::beforeControllerAction($controller,$action))
{
    // your code
    return true;
}
else
    return false;

Parameters

$controller
CController
$controller the controller
$action
CAction
$action the action

Returns

boolean
whether the action should be executed.

Overrides

CWebModule::beforeControllerAction

Methods inherited from CWebModule

afterControllerAction(), getControllerPath(), getDescription(), getLayoutPath(), getName(), getVersion(), getViewPath(), setControllerPath(), setLayoutPath(), setViewPath()

Methods inherited from CModule

__construct(), __get(), __isset(), configure(), getBasePath(), getComponent(), getComponents(), getId(), getModule(), getModulePath(), getModules(), getParams(), getParentModule(), hasComponent(), hasModule(), preinit(), preloadComponents(), setAliases(), setBasePath(), setComponent(), setComponents(), setId(), setImport(), setModulePath(), setModules(), setParams()

Methods inherited from CComponent

__call(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()

Magic methods summary

Properties summary

Properties inherited from CWebModule

$controllerMap, $controllerNamespace, $defaultController, $layout

Properties inherited from CModule

$behaviors, $preload

Magic properties inherited from CWebModule

$controllerPath, $description, $layoutPath, $name, $version, $viewPath

Magic properties inherited from CModule

$aliases, $basePath, $components, $id, $import, $modulePath, $modules, $params, $parentModule

Phundament App Class Reference API documentation generated by ApiGen 2.8.0