SHARE
TWEET

admin

brainode Feb 10th, 2014 73 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: 5:22 PM
  7.  */
  8.  
  9. namespace core\classes;
  10.  
  11. class admin extends users{
  12.     private $login,$pass;
  13.     private function setLogin($login){
  14.         $this->login=$login;
  15.         return true;
  16.     }
  17.     private function setPass($pass){
  18.         $this->pass=$pass;
  19.         return true;
  20.     }
  21.     private function login(){
  22. //        users:: - здесь из доступных наследуемых функций только select из класса readDB
  23.         $getLogin=users::select($this->bdName,$this->tableName,$this->select,$this->where);
  24.         $hashPass=password_hash($this->pass,PASSWORD_DEFAULT);
  25.     }
  26. }
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