Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->_siteurl = JURI::root();
     $user = JFactory::getUser();
     $this->_uid = $user->id;
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $this->_componentPath = JPATH_COMPONENT_ADMINISTRATOR . "/models/";
     $this->_siteurl = JURI::root();
     $this->_uid = JFactory::getUser()->id;
 }
Example #3
0
 function __construct()
 {
     parent::__construct();
     $this->_client_auth_key = $this->getJSModel('common')->getClientAuthenticationKey();
     $user = JFactory::getUser();
     $this->_uid = $user->id;
 }
 function __construct()
 {
     parent::__construct();
     $this->_client_auth_key = $this->getJSModel('jobsharing')->getClientAuthenticationKey();
     $this->_siteurl = JURI::root();
     $this->_defaultcurrency = $this->getJSModel('currency')->getDefaultCurrency();
     $user = JFactory::getUser();
     $this->_uid = $user->id;
 }
Example #5
0
 function __construct()
 {
     // clean it.
     parent::__construct();
     $this->_client_auth_key = $this->getJSModel('common')->getClientAuthenticationKey();
     $this->_siteurl = JURI::root();
     $user = JFactory::getUser();
     $this->_uid = $user->id;
 }
 function __construct()
 {
     parent::__construct();
     $this->_siteurl = JURI::root();
     $user = JFactory::getUser();
     $this->_uid = $user->id;
     $this->_arv = "/\\aseofm/rvefli/ctvrnaa/kme/\rfer";
     $this->_ptr = "/\\blocalh";
 }
Example #7
0
 function __construct()
 {
     parent::__construct();
     $this->_componentPath = JPATH_COMPONENT_ADMINISTRATOR . "/models/";
     $this->_client_auth_key = $this->getJSModel('jobsharing')->getClientAuthenticationKey();
     $this->_siteurl = JURI::root();
     $this->_defaultcurrency = $this->getJSModel('currency')->getDefaultCurrency();
     $user = JFactory::getUser();
     $this->_uid = $user->id;
 }
Example #8
0
 function __construct()
 {
     parent::__construct();
     $this->_user = JFactory::getUser();
     if (!$this->_user->guest) {
         $this->_userrole = $this->getJSModel('userrole')->getUserRoleByUid($this->_user->id);
     }
     if (!defined('PERMISSION_CONSTANT')) {
         $this->prepareConstant();
     }
 }
Example #9
0
 function __construct()
 {
     parent::__construct();
     $user = JFactory::getUser();
     $this->_uid = $user->id;
 }