public function getColumnDetails( $tablename, $columnname )
	{
		$sql = "
			SELECT *
			FROM INFORMATION_SCHEMA.COLUMNS
			WHERE TABLE_SCHEMA = ?
				AND TABLE_NAME = ?
				AND COLUMN_NAME = ?
		";

		$stmt = $this->_conn->create( $sql );
		$stmt->bind( 1, $this->_dbname );
		$stmt->bind( 2, $tablename );
		$stmt->bind( 3, $columnname );
		$result = $stmt->execute();

		if( ( $record = $result->fetch() ) === false ) {
			throw new MW_Setup_Exception( sprintf( 'Unknown column "%1$s" in table "%2$s"', $tablename, $columnname ) );
		}

		return $this->_createColumnItem( $record );
	}
public function getColumnDetails( $tablename, $columnname )
	{
		$sql = "
			SELECT *
			FROM INFORMATION_SCHEMA.COLUMNS
			WHERE TABLE_SCHEMA = ?
				AND TABLE_NAME = ?
				AND COLUMN_NAME = ?
		";

		$stmt = $this->_conn->create( $sql );
		$stmt->bind( 1, $this->_dbname );
		$stmt->bind( 2, $tablename );
		$stmt->bind( 3, $columnname );
		$result = $stmt->execute();

		if( ( $record = $result->fetch() ) === false ) {
			throw new MW_Setup_Exception( sprintf( 'Unknown column "%1$s" in table "%2$s"', $tablename, $columnname ) );
		}

		return $this->_createColumnItem( $record );
	}
public function getColumnDetails ( $ tablename , $ columnname ) { $ sql = "
			SELECT *
			FROM INFORMATION_SCHEMA.COLUMNS
			WHERE TABLE_SCHEMA = ?
				AND TABLE_NAME = ?
				AND COLUMN_NAME = ?
		" ; $ stmt = $ this -> _conn -> create ( $ sql ) ; $ stmt -> bind ( 1 , $ this -> _dbname ) ; $ stmt -> bind ( 2 , $ tablename ) ; $ stmt -> bind ( 3 , $ columnname ) ; $ result = $ stmt -> execute ( ) ; if ( ( $ record = $ result -> fetch ( ) ) === false ) { throw new MW_Setup_Exception ( sprintf ( 'Unknown column "%1$s" in table "%2$s"' , $ tablename , $ columnname ) ) ; } return $ this -> _createColumnItem ( $ record ) ; }
Returns an object containing the details of the column.

@param string $tablename Name of the database table
@param string $columnname Name of the table column
@return MW_Setup_DBSchema_Column_Interface Object which contains the details
Returns an object containing the details of the column .