SHARE
TWEET

Users class

brainode Feb 10th, 2014 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3.  * Created by PhpStorm.
  4.  * User: asus
  5.  * Date: 2/10/14
  6.  * Time: 4:45 PM
  7.  */
  8.  
  9. namespace core\classes;
  10.  
  11.  
  12. use core\read;
  13.  
  14. class users extends read{
  15.     protected $bdName,$tableName,$select,$where;
  16.     protected function setTable($tableName){
  17.         $this->tableName=$tableName;
  18.         return $this->tableName;
  19.     }
  20.     protected function setSelect($select){
  21.         $this->select=$select;
  22.         return $this->select;
  23.     }
  24.     protected function setWhere($where){
  25.         $this->where=$where;
  26.         return $this->$where;
  27.     }
  28.     public function __construct($bdName){
  29.         $this->$bdName="farfor";
  30.     }
  31. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top