public function getTableName(xmldb_table $xmldb_table, $quoted=true) {
        // Get the name, supporting special oci names for temp tables
        if ($this->temptables->is_temptable($xmldb_table->getName())) {
            $tablename = $this->temptables->get_correct_name($xmldb_table->getName());
        } else {
            $tablename = $this->prefix . $xmldb_table->getName();
        }

        // Apply quotes optionally
        if ($quoted) {
            $tablename = $this->getEncQuoted($tablename);
        }

        return $tablename;
    }
public function getTableName(xmldb_table $xmldb_table, $quoted=true) {
        // Get the name, supporting special oci names for temp tables
        if ($this->temptables->is_temptable($xmldb_table->getName())) {
            $tablename = $this->temptables->get_correct_name($xmldb_table->getName());
        } else {
            $tablename = $this->prefix . $xmldb_table->getName();
        }

        // Apply quotes optionally
        if ($quoted) {
            $tablename = $this->getEncQuoted($tablename);
        }

        return $tablename;
    }
public function getTableName ( xmldb_table $ xmldb_table , $ quoted = true ) { // Get the name, supporting special oci names for temp tables if ( $ this -> temptables -> is_temptable ( $ xmldb_table -> getName ( ) ) ) { $ tablename = $ this -> temptables -> get_correct_name ( $ xmldb_table -> getName ( ) ) ; } else { $ tablename = $ this -> prefix . $ xmldb_table -> getName ( ) ; } // Apply quotes optionally if ( $ quoted ) { $ tablename = $ this -> getEncQuoted ( $ tablename ) ; } return $ tablename ; }
Given one xmldb_table, returns it's correct name, depending of all the parametrization
Overridden to allow change of names in temp tables

@param xmldb_table table whose name we want
@param boolean to specify if the name must be quoted (if reserved word, only!)
@return string the correct name of the table
Given one xmldb_table returns it s correct name depending of all the parametrization Overridden to allow change of names in temp tables