Bitrix Site Manager

CBitrixComponent::GetRelativePath

string
GetRelativePath();

The method returns the path to the component folder relative to the /bitrix/components folder.

Example

$relativePath = $this->GetRelativePath();