createByController
\Bitrix\Main\Web\Uri public \Bitrix\Main\Engine\UrlManager::createByController( \Bitrix\Main\Engine\Controller $controller, string $action, array $params = array() );
Creates URL for the controller and its action.
Parameters
Parameter | Description | Version |
---|---|---|
$controller | Controller. | |
$action | Relative action name. | |
$params | Additional parameters for action. |
Exceptions
- \Bitrix\Main\ArgumentNullException
- \Bitrix\Main\ArgumentOutOfRangeException
Example
© «Bitrix24», 2001-2024
Up