Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->name = new text();
     $this->pass = new pass();
     $this->message = '';
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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];
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     security::logged_in();
     $this->db = my_db::open();
 }
Ejemplo n.º 6
0
 public function __construct()
 {
     global $dbo;
     $dbo = parent::construct_emulator();
 }
Ejemplo n.º 7
0
 public function __construct()
 {
     parent::__construct();
 }