/** * Return the this object's path in the current component hierarchy * @return string */ protected function getPath() { if (null === $this->parent) { return null; } if (null !== ($pPath = $this->parent->getPath())) { return $pPath . '.' . $this->handle; } else { return $this->handle; } }