public function getOneAll($sql, $params = array(), $column_number = 0)
    {
        $stmt = $this->execute($sql, $params);
        $all  = array();
        while ($row = $stmt->fetch(PDO::FETCH_NUM)) {
            $all[] = $row[$column_number];
        }

        return $all;
    }
public function getOneAll($sql, $params = array(), $column_number = 0)
    {
        $stmt = $this->execute($sql, $params);
        $all  = array();
        while ($row = $stmt->fetch(PDO::FETCH_NUM)) {
            $all[] = $row[$column_number];
        }

        return $all;
    }
public function getOneAll ( $ sql , $ params = array ( ) , $ column_number = 0 ) { $ stmt = $ this -> execute ( $ sql , $ params ) ; $ all = array ( ) ; while ( $ row = $ stmt -> fetch ( PDO :: FETCH_NUM ) ) { $ all [ ] = $ row [ $ column_number ] ; } return $ all ; }
Get one column together into an array

@param       $sql
@param array $params
@param int   $column_number

@return array
Get one column together into an array