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
- CBaseUrlRule
Direct known subclasses
CUrlRuleIndirect 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
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
abstract public
mixed
|
#
createUrl(
Creates a URL based on this rule. |
abstract public
mixed
|
#
parseUrl(
Parses a URL based on this rule. |
public
boolean
|
$hasHostInfo | false |
#
whether this rule will also parse the host info part. Defaults to false. |