Phundament App Class Reference
  • Package
  • Class
  • Tree

Packages

  • bootstrap
    • widgets
      • input
  • Image
  • None
  • p3admin
  • p3extensions
    • behaviors
    • commands
    • components
    • helpers
    • widgets
  • p3media
    • actions
    • controllers
    • models
  • p3pages
    • models
  • p3widgets
    • components
    • models
  • PHP
  • system
    • db
      • ar
    • gii
    • web
      • auth
      • helpers
      • widgets
  • yiiext
    • widgets
      • fancybox
      • lipsum
  • zii
    • widgets
      • grid

Classes

  • P3ActiveRecord
  • P3Configuration
  • P3LangHandler
  • P3LangUrlManager
  • P3ReturnUrl

Class P3LangUrlManager

Url manager, creates URLs with 'lang' param

CComponent
Extended by CApplicationComponent implements IApplicationComponent
Extended by CUrlManager
Extended by P3LangUrlManager
Package: p3extensions\components
Copyright: Copyright © 2005-2010 diemeisterei GmbH
License: http://www.phundament.com/license/
Author: Tobias Munk <schmunk@usrbin.de>
Since: 3.0.3
See: P3LangHandler
Located at phundament/p3extensions/components/P3LangUrlManager.php

Methods summary

public string
# createUrl( string $route, array $params = array(), string $ampersand = '&' )

Constructs a URL.

Constructs a URL.

Parameters

$route
string
$route the controller and the action (e.g. article/read)
$params
array
$params list of GET parameters (name=>value). Both the name and value will be URL-encoded. If the name is '#', the corresponding value will be treated as an anchor and will be appended at the end of the URL.
$ampersand
string
$ampersand the token separating name-value pairs in the URL. Defaults to '&'.

Returns

string
the constructed URL

Overrides

CUrlManager::createUrl

Methods inherited from CUrlManager

addRules(), createPathInfo(), createUrlDefault(), createUrlRule(), getBaseUrl(), getUrlFormat(), init(), parsePathInfo(), parseUrl(), processRules(), removeUrlSuffix(), setBaseUrl(), setUrlFormat()

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

Constants inherited from CUrlManager

CACHE_KEY, GET_FORMAT, PATH_FORMAT

Properties summary

Properties inherited from CUrlManager

$appendParams, $cacheID, $caseSensitive, $matchValue, $routeVar, $rules, $showScriptName, $urlRuleClass, $urlSuffix, $useStrictParsing

Properties inherited from CApplicationComponent

$behaviors

Magic properties inherited from CUrlManager

$baseUrl, $urlFormat

Magic properties inherited from CApplicationComponent

$isInitialized

Phundament App Class Reference API documentation generated by ApiGen 2.8.0