getUser() public method

public getUser ( ) : Scalr_Account_User
return Scalr_Account_User
Exemplo n.º 1
0
 public function __construct()
 {
     $this->request = Scalr_UI_Request::getInstance();
     $this->response = Scalr_UI_Response::getInstance();
     $this->db = Core::getDBInstance();
     $this->user = $this->request->getUser();
     $this->environment = $this->request->getEnvironment();
     date_default_timezone_set(SCALR_SERVER_TZ);
 }
Exemplo n.º 2
0
 public function __construct()
 {
     $this->request = Scalr_UI_Request::getInstance();
     $this->response = Scalr_UI_Response::getInstance();
     $this->user = $this->request->getUser();
     $this->environment = $this->request->getEnvironment();
     $this->container = Scalr::getContainer();
     $this->db = Scalr::getDb();
 }