public function getColumnType($table, $column)
    {
        $col = $this->describeColumn($table, $column);

        if (!is_null($col)) {
            return $col->getType();
        }

        return null;
    }
public function getColumnType($table, $column)
    {
        $col = $this->describeColumn($table, $column);

        if (!is_null($col)) {
            return $col->getType();
        }

        return null;
    }
public function getColumnType ( $ table , $ column ) { $ col = $ this -> describeColumn ( $ table , $ column ) ; if ( ! is_null ( $ col ) ) { return $ col -> getType ( ) ; } return null ; }
Get the data type for the given column name.

@param string $table
@param string $column

@return string
Get the data type for the given column name .