Class P3LangHandler
Handles language detection and application setting by URL parm specified in DATA_KEY. Uses first language as a fallback language.
Based upon http://www.yiiframework.com/extension/langhandler/
- CComponent
-
CApplicationComponent
implements
IApplicationComponent
-
P3LangHandler
Copyright: Copyright © 2005-2010 diemeisterei GmbH
License: http://www.phundament.com/license/
Author: Tobias Munk <schmunk@usrbin.de>
Since: 3.0.3
See:
P3LangUrlManagerLocated at phundament/p3extensions/components/P3LangHandler.php
Methods summary
public
|
Methods inherited from CApplicationComponent
getIsInitialized()
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()
Magic methods summary
Constants summary
string |
DATA_KEY
|
'lang' |
#
$_GET param used for language detection |
Properties summary
public
type
|
$languages |
#
Available languages |
Properties inherited from CApplicationComponent
$behaviors
Magic properties inherited from CApplicationComponent
$isInitialized