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
  • Net
  • None
  • PHP
  • system
    • base
    • caching
      • dependencies
    • collections
    • console
    • db
      • ar
      • schema
        • cubrid
        • mssql
        • mysql
        • oci
        • pgsql
        • sqlite
    • i18n
      • gettext
    • logging
    • test
    • utils
    • validators
    • web
      • actions
      • auth
      • filters
      • form
      • helpers
      • renderers
      • services
      • widgets
        • captcha
        • pagers
  • Text
    • Highlighter
  • zii
    • behaviors
    • widgets
      • grid
      • jui

Classes

  • ActionFormModelBase
  • CActiveDataProvider
  • CalendarEventFormModel
  • CallFormModel
  • CArrayDataProvider
  • CAssetManager
  • CBaseController
  • CBaseUrlRule
  • CCacheHttpSession
  • CClientScript
  • CController
  • CCookieCollection
  • CDataProvider
  • CDataProviderIterator
  • CDbHttpSession
  • CExtController
  • CFormModel
  • CHttpCookie
  • CHttpRequest
  • CHttpSession
  • CHttpSessionIterator
  • COutputEvent
  • CPagination
  • CreatePageFormModel
  • CSort
  • CSqlDataProvider
  • CTheme
  • CThemeManager
  • CUploadedFile
  • CUrlManager
  • CUrlRule
  • CWebApplication
  • CWebModule
  • CWidgetFactory
  • EditMobileFormsFormModel
  • EventCommentPublisherFormModel
  • EventFormModel
  • EventPublisherFormModel
  • FileSystemObjectDataProvider
  • MassActionFormModel
  • MobilePagination
  • NoteFormModel
  • NotificationsController
  • TimeFormModel
  • UploadLogoFormModel
  • X2FormModel
  • X2HttpRequest

Interfaces

  • IDataProvider
  • IWidgetFactory
  • Overview
  • Package
  • Class
  • Tree

Class CBaseUrlRule

CBaseUrlRule is the base class for a URL rule class.

Custom URL rule classes should extend from this class and implement two methods: CBaseUrlRule::createUrl() and CBaseUrlRule::parseUrl().

CComponent
Extended by CBaseUrlRule

Direct known subclasses

CUrlRule

Indirect known subclasses

X2UrlRule
Abstract
Package: system\web
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.1.8
Located at x2engine/framework/web/CUrlManager.php
Methods summary
abstract public mixed
# createUrl( CUrlManager $manager, string $route, array $params, string $ampersand )

Creates a URL based on this rule.

Creates a URL based on this rule.

Parameters

$manager
CUrlManager
$manager the manager
$route
string
$route the route
$params
array
$params list of parameters (name=>value) associated with the route
$ampersand
string
$ampersand the token separating name-value pairs in the URL.

Returns

mixed
the constructed URL. False if this rule does not apply.
abstract public mixed
# parseUrl( CUrlManager $manager, CHttpRequest $request, string $pathInfo, string $rawPathInfo )

Parses a URL based on this rule.

Parses a URL based on this rule.

Parameters

$manager
CUrlManager
$manager the URL manager
$request
CHttpRequest
$request the request object
$pathInfo
string
$pathInfo path info part of the URL (URL suffix is already removed based on CUrlManager::$urlSuffix)
$rawPathInfo
string
$rawPathInfo path info that contains the potential URL suffix

Returns

mixed
the route that consists of the controller ID and action ID. False if this rule does not apply.
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()
Properties summary
public boolean $hasHostInfo false
#

whether this rule will also parse the host info part. Defaults to false.

whether this rule will also parse the host info part. Defaults to false.

API documentation generated by ApiGen 2.8.0