web\UrlManager buildRules()

buildRules() protected method

Builds URL rule objects from the given rule declarations.

protected yii\web\UrlRuleInterface[] buildRules ( $rules )
$rules array

The rule declarations. Each array element represents a single rule declaration. Please refer to $rules for the acceptable rule formats.

return yii\web\UrlRuleInterface[]

The rule objects built from the given rule declarations

throws yii\base\InvalidConfigException

if a rule declaration is invalid

doc_Yii
2016-10-30 17:16:59
Comments
Leave a Comment

Please login to continue.