示例#1
0
 static function getLinkBase($task = 'authentications.authenticatewith')
 {
     if (self::$_linkBase === null) {
         $token = JSession::getFormToken();
         //self::$_linkBase= 'index.php?option=com_hs_users&task='.$task.'&'.$token.'=1';
         self::$_linkBase = 'index.php?option=com_hs_users&task=' . $task;
         //add return URL
         //$returnURL = JRequest::getVar('return',null);
         //if($returnURL!==null){
         //	self::$_linkBase .= '&return='.$returnURL;
         //}
     }
     return self::$_linkBase;
 }