Advertisement
brainode

Users class

Feb 10th, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.64 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement