Class app\modules\main\components\PageUrlRule

Inheritanceapp\modules\main\components\PageUrlRule » yii\web\UrlRule

Class PageUrlRule Правило для роутинга текстовых страниц

Property Details

$connectionID public property
$connectionID 'db'
$pattern public property
$pattern '[A-z0-9_-]+'
$route public property
$route 'main/pages/index'

Method Details

createUrl() public method

void createUrl$manager$route$params )
$manager
$route
$params
parseRequest() public method

void parseRequest$manager$request )
$manager
$request