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