createByComponentController
\Bitrix\Main\Web\Uri public \Bitrix\Main\Engine\UrlManager::createByComponentController( \Bitrix\Main\Engine\Controller $controller, string $action, array $params = array() );
Creates URL for the controller in component 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