Class common\components\PhpMatch
| Inheritance | common\components\PhpMatch » common\components\Match » yii\base\Object |
|---|
Class PhpMatch Php выражение
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getMatch() | Возвращает объект для проверки условия подключения шаблона. False в случае ошибки | common\components\Match |
| test() | Проверяет истинность php выражения | common\components\PhpMatch |
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 |