Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->name = new text();
     $this->pass = new pass();
     $this->message = '';
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
     security::logged_in();
     $this->id = null;
     $arr = array(0 => '') + acc_ctrl::_load_account();
     $this->acc_id = new sel($arr);
     $this->name = new text();
     $this->total = 0;
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
     $this->log = log::getInstance();
     $valid_passwords = array("admin" => "admin");
     $valid_users = array_keys($valid_passwords);
     $user = $_SERVER['PHP_AUTH_USER'];
     $pass = $_SERVER['PHP_AUTH_PW'];
     $this->isAdmin = in_array($user, $valid_users) && $pass == $valid_passwords[$user];
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
     security::logged_in();
     $this->db = my_db::open();
     $this->message = '';
     $this->id = null;
     $this->name = new text();
     $this->date = new text();
     $this->entry = array();
     $this->total = 0;
     $this->account = array();
     $this->account = acc_ctrl::_load_account();
 }
Пример #5
0
 public function __construct()
 {
     parent::__construct();
     security::logged_in();
     $this->db = my_db::open();
 }
Пример #6
0
 public function __construct()
 {
     global $dbo;
     $dbo = parent::construct_emulator();
 }
Пример #7
0
 public function __construct()
 {
     parent::__construct();
 }