Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Created by PhpStorm.
- * User: asus
- * Date: 2/10/14
- * Time: 4:45 PM
- */
- namespace core\classes;
- use core\read;
- class users extends read{
- protected $bdName,$tableName,$select,$where;
- protected function setTable($tableName){
- $this->tableName=$tableName;
- return $this->tableName;
- }
- protected function setSelect($select){
- $this->select=$select;
- return $this->select;
- }
- protected function setWhere($where){
- $this->where=$where;
- return $this->$where;
- }
- public function __construct($bdName){
- $this->$bdName="farfor";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement