db_mysqli::getAll PHP Method

getAll() private method

获得所有的查询数据
private getAll ( ) : array
return array
    private function getAll()
    {
        //返回数据集
        $result = array();
        if ($this->numRows > 0) {
            //返回数据集
            for ($i = 0; $i < $this->numRows; $i++) {
                $result[$i] = $this->queryID->fetch_assoc();
            }
            $this->queryID->data_seek(0);
        }
        return $result;
    }