web\HeaderCollection add()

add() public method Adds a new header. If there is already a header with the same name, the new one will be appended to it instead of replacing it. public $this add ( $name, $value )$name string The name of the header $value string The value of the header return $this The collection object itself

web\HeaderCollection $iterator

$iterator public read-only property An iterator for traversing the headers in the collection. public ArrayIterator getIterator ( )

web\HeaderCollection $count

$count public read-only property The number of headers in the collection. public integer getCount ( )

web\GroupUrlRule parseRequest()

parseRequest() public method Parses the given request and returns the corresponding route and parameters. public array|boolean parseRequest ( $manager, $request )$manager yii\web\UrlManager The URL manager $request yii\web\Request The request component return array|boolean The parsing result. The route and the parameters are returned as an array. If false, it means this rule cannot be used to parse this path info.

web\GroupUrlRule init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

web\GroupUrlRule createUrl()

createUrl() public method Creates a URL according to the given route and parameters. public string|boolean createUrl ( $manager, $route, $params )$manager yii\web\UrlManager The URL manager $route string The route. It should not have slashes at the beginning or the end. $params array The parameters return string|boolean The created URL, or false if this rule cannot be used for creating this URL.

web\GroupUrlRule createRules()

createRules() protected method Creates the URL rules that should be contained within this composite rule. protected yii\web\UrlRuleInterface[] createRules ( )return yii\web\UrlRuleInterface[] The URL rules

web\GroupUrlRule $rules

$rules public property The rules contained within this composite rule. Please refer to yii\web\UrlManager::$rules for the format of this property. See also: $prefix $routePrefix public array $rules = []

web\GroupUrlRule $ruleConfig

$ruleConfig public property The default configuration of URL rules. Individual rule configurations specified via $rules will take precedence when the same property of the rule is configured. public array $ruleConfig = ['class' => 'yii\web\UrlRule']

web\GroupUrlRule $routePrefix

$routePrefix public property The prefix for the route part of every rule declared in $rules. The prefix and the route will be separated with a slash. If this property is not set, it will take the value of $prefix. public string $routePrefix = null