Exemplo n.º 1
0
 function Users($email = null, $cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->email = $email;
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 2
0
 function PaymentMethods($paymentMethId = 0, $cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->paymentMethId = $paymentMethId;
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 3
0
 function Products($productId = 0, $cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->productId = $productId;
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 4
0
 function Sessions($sessionId = 0, $cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->sessionId = $sessionId;
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 5
0
 function OrderToProds($orderId = 0, $cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->orderId = $orderId;
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 6
0
 function __construct(Auth $auth)
 {
     parent::__construct();
     $this->auth = $auth;
     putenv('LD_LIBRARY_PATH=/home/grilledc/lib');
     putenv('PKG_CONFIG_PATH=/home/grilledc/lib/pkgconfig');
 }
Exemplo n.º 7
0
 function Categories($categId = 0, $cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->categId = $categId;
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 8
0
 function Discounts($discountId = 0, $cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->discountId = $discountId;
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 9
0
 function Stores($cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->storeName = STORE_NAME;
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 10
0
 function CategsToProds($categId = 0, $prodId = 0, $cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->categId = $categId;
     $this->prodId = $prodId;
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 11
0
 function StoreSessionDB($cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
     if (!session_set_save_handler(array(&$this, 'open'), array(&$this, 'close'), array(&$this, 'read'), array(&$this, 'write'), array(&$this, 'destroy'), array(&$this, 'gc'))) {
         print "Session Handler Failed <br>";
     }
 }
Exemplo n.º 12
0
 public function __construct2(Auth $auth, $content_id)
 {
     parent::__construct();
     $this->auth = $auth;
     $this->content_id = $content_id;
     $this->sortParams = '[{"property":"id","direction":"desc"}]';
     $this->start = "0";
     $this->limit = "10";
 }
Exemplo n.º 13
0
 public function __construct()
 {
     parent::__construct();
     if (PHP_SAPI === 'cli') {
         $this->cookie_gcotd = $argv[1];
     } else {
         if (isset($_COOKIE["gcotd"]) && $_COOKIE["gcotd"] != null) {
             $this->cookie_gcotd = $_COOKIE["gcotd"];
         }
     }
 }
Exemplo n.º 14
0
 public function __construct1($inId)
 {
     parent::__construct();
     $sql = "select * from contents where id=:inId";
     $stmt = $this->getDb()->prepare($sql);
     $stmt->bindValue(':inId', intval($inId), PDO::PARAM_INT);
     $stmt->execute();
     if ($stmt->rowCount() == 1) {
         $stmtResult = $stmt->fetch(PDO::FETCH_ASSOC);
         $this->populateThis($stmtResult);
     }
 }
Exemplo n.º 15
0
 public function __construct()
 {
     parent::__construct();
     if (isset($_POST["username"])) {
         $this->postedusername = strtolower(trim($_POST["username"]));
     }
     if (isset($_POST["email"])) {
         $this->postedemail = strtolower(trim($_POST["email"]));
     }
     if (isset($_POST['g-recaptcha-response']) && $_POST["g-recaptcha-response"] != "") {
         $this->captcha = $_POST["g-recaptcha-response"];
     }
 }
Exemplo n.º 16
0
 public function __construct(Auth $auth)
 {
     parent::__construct();
     $this->auth = $auth;
     $this->userName = $this->auth->user_data["name"];
     if (isset($_GET["userpage"]) && $_GET["userpage"] != null) {
         $this->userPage = $_GET["userpage"];
     }
     if (isset($_POST["userdesc"]) && $_POST["userdesc"] != null) {
         $this->postDesc = $_POST["userdesc"];
     }
     if (isset($_POST["firstname"]) && $_POST["firstname"] != null) {
         $this->postFirstName = $_POST["firstname"];
     }
     if (isset($_POST["lastname"]) && $_POST["lastname"] != null) {
         $this->postLastName = $_POST["lastname"];
     }
     if (isset($_POST["email"]) && $_POST["email"] != null) {
         $this->postEmail = $_POST["email"];
     }
 }
Exemplo n.º 17
0
 public function __construct()
 {
     parent::__construct();
     if (isset($_POST["username"]) && $_POST["username"] != "") {
         $this->postUsername = strtolower(trim($_POST["username"]));
     }
     if (isset($_POST["password"]) && $_POST["password"] != "") {
         $this->postPassword = $_POST["password"];
     }
     if (isset($_POST["fbid"]) && $_POST["fbid"] != "") {
         $this->fbid = $_POST["fbid"];
     }
     if (isset($_POST["fbfirstname"]) && $_POST["fbfirstname"] != "") {
         $this->fbfirstname = $_POST["fbfirstname"];
     }
     if (isset($_POST["fblastname"]) && $_POST["fblastname"] != "") {
         $this->fblastname = $_POST["fblastname"];
     }
     if (isset($_POST['g-recaptcha-response']) && $_POST["g-recaptcha-response"] != "") {
         $this->captcha = $_POST["g-recaptcha-response"];
     }
 }
Exemplo n.º 18
0
 public function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 19
0
 function Tax($cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 20
0
 function AdminComments($cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 21
0
 function OrderToFinances($cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 22
0
 public function __construct() {
     $this->_DB = parent::__construct();
 }
 function OrderToPaymentMeths($cache = 0, $cacheTime = 0, $persistent = 0)
 {
     parent::__construct($persistent);
     $this->cache = $cache;
     $this->cacheTime = $cacheTime;
 }
Exemplo n.º 24
0
 function __construct(Auth $auth)
 {
     parent::__construct();
     $this->auth = $auth;
 }