/** * Get url to user profile * @return string */ public function getHref() { if (!$this->user) { return parent::getHref(); } return $this->user->getURL(); }