public function all($param = true){
        $this->isAr = true;
        if($this->isPretreatment){
            self::$Pre = $this->bindSql();
            if(!$param) return self::$Pre->queryString;
            return $this->dbh->pall(self::$Pre);
        }
        $bind = $this->bindSql();
        if(!$param) return $this->PrintSQL();
        $this->initialize();
        return  $bind->all();
    }
public function all($param = true){
        $this->isAr = true;
        if($this->isPretreatment){
            self::$Pre = $this->bindSql();
            if(!$param) return self::$Pre->queryString;
            return $this->dbh->pall(self::$Pre);
        }
        $bind = $this->bindSql();
        if(!$param) return $this->PrintSQL();
        $this->initialize();
        return  $bind->all();
    }
public function all ( $ param = true ) { $ this -> isAr = true ; if ( $ this -> isPretreatment ) { self :: $ Pre = $ this -> bindSql ( ) ; if ( ! $ param ) return self :: $ Pre -> queryString ; return $ this -> dbh -> pall ( self :: $ Pre ) ; } $ bind = $ this -> bindSql ( ) ; if ( ! $ param ) return $ this -> PrintSQL ( ) ; $ this -> initialize ( ) ; return $ bind -> all ( ) ; }
Grabbing all the data
@author brain_yang<qiaopi520@qq.com>
(c) brain_yang
github: https://github.com/keenlysoft/
@param true is defult || false is return sqlstr;
@time 2018年2月27日
For the full copyright and license information, please view the LICENSE
Grabbing all the data