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

  • P3MediaModule

Class P3MediaModule

Module class

CComponent
Extended by CModule
Extended by CWebModule
Extended by P3MediaModule
Package: p3media
Copyright: Copyright © 2005-2011 diemeisterei GmbH
License: http://www.phundament.com/license/
Author: Tobias Munk <schmunk@usrbin.de>
Since: 3.0.1
Located at phundament/p3media/P3MediaModule.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
public
# getDataPath( mixed $relative = false )
public
# resolveFilePath( mixed $fileName )

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

public string $dataAlias
#
public string $importAlias
#

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