/** * Gets the permalink to the profiles view. * * @since 1.0 * @access public * @param string * @return */ public function getPermalink($xhtml = true) { $permalink = FRoute::profiles(array('layout' => 'item', 'id' => $this->getAlias()), $xhtml); return $permalink; }