protected static function getRequest()
 {
     if (self::$_request === null) {
         require_once 'Zend/Controller/Front.php';
         self::$_request = Zend_Controller_Front::getInstance()->getRequest();
     }
     return self::$_request;
 }
 public static function getUserUrl()
 {
     $user = Zend_Auth::getInstance()->getIdentity();
     return is_null($user) ? null : Revoleers_Util_HttpPath::getServerUrl() . '/profile/profile/view-public/' . $user->profile_id;
 }