irm-1.6-b3/MDB/Modules/Manager/oci8.php
/**
     * list all fields in a tables in the current database
     *
     * @param object    $db        database object that is extended by this class
     * @param string $table name of table that should be used in method
     * @return mixed data array on success, a MDB error on failure
     * @access public
     */
list all fields in a tables in the current database
@param object    $db        database object that is extended by this class
@param string $table name of table that should be used in method
@return mixed data array on success, a MDB error on failure
@access public
list all fields in a tables in the current database @param object $db database object that is extended by this class @param string $table name of table that should be used in method @return mixed data array on success a MDB error on failure @access public
function listTableFields(&$db, $table)
    {
        $table = strtoupper($table);
        $query = "SELECT column_name FROM user_tab_columns WHERE table_name='$table' ORDER BY column_id";
        $columns = $db->queryCol($query);
        if (MDB::isError($result)) {
            return($result);
        }
        if ($db->options['optimize'] != 'portability') {
            $columns = array_flip($columns);
            $columns = array_change_key_case($columns, CASE_LOWER);
            $columns = array_flip($columns);
        }
        return($columns);
    }
function listTableFields ( & $ db , $ table ) { $ table = strtoupper ( $ table ) ; $ query = " SELECT column_name FROM user_tab_columns WHERE table_name=' $ table ' ORDER BY column_id " ; $ columns = $ db -> queryCol ( $ query ) ; if ( MDB :: isError ( $ result ) ) { return ( $ result ) ; } if ( $ db -> options [ 'optimize' ] != 'portability' ) { $ columns = array_flip ( $ columns ) ; $ columns = array_change_key_case ( $ columns , CASE_LOWER ) ; $ columns = array_flip ( $ columns ) ; } return ( $ columns ) ; }
list all fields in a tables in the current database
 @param object    $db        database object that is extended by this class
 @param string $table name of table that should be used in method
 @return mixed data array on success, a MDB error on failure
 @access public
list all fields in a tables in the current database @param object $db database object that is extended by this class @param string $table name of table that should be used in method @return mixed data array on success a MDB error on failure @access public