Bitrix Site Manager

CBitrixComponent::GetParent

object &
GetParent();

The method returns a reference to the parent compound component object.

Example

$parent = & $this->GetParent();
$parentName = $parent->GetName();