Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • None
  • system
    • base
    • caching
    • console
    • db
      • ar
      • schema
    • validators
    • web
      • actions
      • auth
      • helpers
      • widgets
        • captcha
        • pagers
  • zii
    • widgets
      • grid

Classes

  • MobileModule
  • Overview
  • Package
  • Class
  • Tree

Class MobileModule

CComponent
Extended by CModule
Extended by CWebModule
Extended by X2WebModule
Extended by MobileModule
Package: application\modules\mobile
Located at x2engine/protected/modules/mobile/MobileModule.php
Methods summary
public static
# registerDefaultCss( )
public static
# registerDefaultJs( )
public static
# supportedModules( CDbCriteria $criteria = null )
public static
# getPackages( mixed $assetsUrl )
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 X2WebModule
getAssetsUrl(), getAssetsUrlOfModule(), setAssetsUrl()
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()
Properties summary
public static boolean $useMergedCss true
#
public string $packages array()
#

the path of the assets folder for this module. Defaults to 'assets'.

the path of the assets folder for this module. Defaults to 'assets'.

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
X2CRM Documentation API documentation generated by ApiGen 2.8.0