Class common\components\UrlMatch
| Inheritance | common\components\UrlMatch » common\components\Match » yii\base\Object |
|---|
Class UrlMatch Совпадение по URL
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getMatch() | Возвращает объект для проверки условия подключения шаблона. False в случае ошибки | common\components\Match |
| test() | Проверяет соответствие текущего url заданному значению | common\components\UrlMatch |
Constants
| Constant | Value | Description | Defined By |
|---|---|---|---|
| COND_NO | 0 | Константы условий подключения шаблонов | common\components\Match |
| COND_PHP | 2 | common\components\Match | |
| COND_ROUTE | 3 | common\components\Match | |
| COND_URL | 1 | common\components\Match |