web\UrlRule $route

$route public property The route to the controller action public string $route = null

web\UrlRule $pattern

$pattern public property The pattern used to parse and create the path info part of a URL. See also: $host $placeholders public string $pattern = null

web\UrlRule $normalizer

$normalizer public property (available since version 2.0.10) The configuration for yii\web\UrlNormalizer used by this rule. If null, yii\web\UrlManager::$normalizer will be used, if false, normalization will be skipped for this rule. public yii\web\UrlNormalizer|array|false|null $normalizer = null

web\UrlRule $encodeParams

$encodeParams public property A value indicating if parameters should be url encoded. public boolean $encodeParams = true

web\UrlRule $name

$name public property The name of this rule. If not set, it will use $pattern as the name. public string $name = null

web\UrlRule $mode

$mode public property A value indicating if this rule should be used for both request parsing and URL creation, parsing only, or creation only. If not set or 0, it means the rule is both request parsing and URL creation. If it is PARSING_ONLY, the rule is for request parsing only. If it is CREATION_ONLY, the rule is for URL creation only. public integer $mode = null

web\UrlRule $host

$host public property The pattern used to parse and create the host info part of a URL (e.g. http://example.com). See also $pattern. public string $host = null

web\UrlRule $defaults

$defaults public property The default GET parameters (name => value) that this rule provides. When this rule is used to parse the incoming request, the values declared in this property will be injected into $_GET. public array $defaults = []

web\UrlNormalizerRedirectException __construct()

__construct() public method public void __construct ( $url, $statusCode = 302, $scheme = false, $message = null, $code = 0, Exception $previous = null )$url array|string The parameter to be used to generate a valid URL for redirection. This will be used as first parameter for yii\helpers\Url::to() $statusCode integer HTTP status code used for redirection $scheme boolean|string The URI scheme to use in the generated URL for redirection. This will be used as second parameter for yii\

web\UrlNormalizerRedirectException $url

$url public property The parameter to be used to generate a valid URL for redirection See also [[yii\helpers\Url::to()]]. public array|string $url = null