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

  • ContactsModule
  • X2WebApplication
  • Overview
  • Package
  • Class
  • Tree

Class X2WebApplication

X2WebApplication class file.

X2WebApplication extends CWebApplication to provide additional functionality.

CComponent
Extended by CModule
Extended by CApplication
Extended by CWebApplication
Extended by X2WebApplication
Package: application\modules\contacts
Located at x2engine/protected/components/X2WebApplication.php
Methods summary
public boolean
# componentCreated( string $id )

Checks whether the named component has been created.

Checks whether the named component has been created.

Parameters

$id
string
$id application component ID

Returns

boolean
whether the named application component has been created
public array
# createController( string $route, CWebModule $owner = null )

Creates a controller instance based on a route. Modified to check in /custom for controller files. See CWebApplication::createController() for details.

Creates a controller instance based on a route. Modified to check in /custom for controller files. See CWebApplication::createController() for details.

Parameters

$route
string
$route the route of the request.
$owner
CWebModule
$owner the module that the new controller will belong to. Defaults to null, meaning the application instance is the owner.

Returns

array
the controller instance and the action ID. Null if the controller class does not exist or the route is invalid.

Overrides

CWebApplication::createController()
public
# onEndRequest( CEvent $event )

Raised right AFTER the application processes the request.

Raised right AFTER the application processes the request.

Parameters

$event
CEvent
$event the event parameter

Overrides

CApplication::onEndRequest()
Methods inherited from CWebApplication
afterControllerAction(), beforeControllerAction(), findModule(), getAssetManager(), getAuthManager(), getClientScript(), getController(), getControllerPath(), getLayoutPath(), getSession(), getSystemViewPath(), getTheme(), getThemeManager(), getUser(), getViewPath(), getViewRenderer(), getWidgetFactory(), init(), parseActionParams(), processRequest(), registerCoreComponents(), runController(), setController(), setControllerPath(), setLayoutPath(), setSystemViewPath(), setTheme(), setViewPath()
Methods inherited from CApplication
__construct(), clearGlobalState(), createAbsoluteUrl(), createUrl(), displayError(), displayException(), end(), findLocalizedFile(), getBasePath(), getBaseUrl(), getCache(), getCoreMessages(), getDateFormatter(), getDb(), getErrorHandler(), getExtensionPath(), getGlobalState(), getHomeUrl(), getId(), getLanguage(), getLocale(), getLocaleDataPath(), getMessages(), getNumberFormatter(), getRequest(), getRuntimePath(), getSecurityManager(), getStatePersister(), getTimeZone(), getUrlManager(), handleError(), handleException(), initSystemHandlers(), loadGlobalState(), onBeginRequest(), onError(), onException(), run(), saveGlobalState(), setBasePath(), setExtensionPath(), setGlobalState(), setHomeUrl(), setId(), setLanguage(), setLocaleDataPath(), setRuntimePath(), setTimeZone()
Methods inherited from CModule
__get(), __isset(), configure(), getComponent(), getComponents(), getModule(), getModulePath(), getModules(), getParams(), getParentModule(), hasComponent(), hasModule(), preinit(), preloadComponents(), setAliases(), setComponent(), setComponents(), 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 inherited from CWebApplication
$catchAllRequest, $controllerMap, $controllerNamespace, $defaultController, $layout
Properties inherited from CApplication
$charset, $localeClass, $name, $sourceLanguage
Properties inherited from CModule
$behaviors, $preload
Magic properties inherited from CWebApplication
$assetManager, $authManager, $clientScript, $controller, $controllerPath, $layoutPath, $session, $systemViewPath, $theme, $themeManager, $user, $viewPath, $viewRenderer, $widgetFactory
Magic properties inherited from CApplication
$basePath, $baseUrl, $cache, $coreMessages, $dateFormatter, $db, $errorHandler, $extensionPath, $homeUrl, $id, $language, $locale, $localeDataPath, $messages, $numberFormatter, $request, $runtimePath, $securityManager, $statePersister, $timeZone, $urlManager
Magic properties inherited from CModule
$aliases, $components, $import, $modulePath, $modules, $params, $parentModule
X2CRM Documentation API documentation generated by ApiGen 2.8.0