Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->user = MUser::app();
     $this->image = Image::app();
     $this->role = MRole::app();
     $this->check_access('edit_users');
 }
Ejemplo n.º 2
0
 private function __construct()
 {
     $this->user = null;
     $this->token = null;
     $this->privs = null;
     $this->users = User::app();
     $this->sessions = Session::app();
 }