@name Get Database table name;
516900
public function GetTable(){
       if(!$this->dbh){
           $this->setDB();
       }
       if(!$this->child) $this->child  =  self::lectionClass(get_called_class());
       if(isset($this->child->table))
       return  $this->dbh->dh->db['prefix'].$this->child->table;
    }
461802
private function getAllTableNames()
    {
        $handler = $this->databaseConnection->queryAndHandle("SHOW TABLES FROM `" . $this->databaseConnection->getDatabaseName() . "`");
        $tableNames = array();

        if ($handler->getResultSize() > 0) {
            while ($oDatabaseResultRow = $handler->fetchNextResultObject()) {
                $tablesInVariableName = "Tables_in_" . $this->databaseConnection->getDatabaseName();
                // add only tables with the current connection prefix
                if (
                    substr(
                        $oDatabaseResultRow->$tablesInVariableName,
                        0,
                        strlen($this->databaseConnection->getTablePrefix()))
                    == $this->databaseConnection->getTablePrefix()) {

                    array_push($tableNames, $oDatabaseResultRow->$tablesInVariableName);
                }

            }
        }

        return $tableNames;
    }
337554
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(PROJECT_TASK_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
636817
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(MESSAGE_DETAIL_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
718148
private String getDbTableName(String schemaName) {
    Preconditions.checkArgument(schemaName.matches(".+_.+_.+"));
    return schemaName.replaceFirst("_", ".").substring(0, schemaName.lastIndexOf('_'));
  }
886742
public function getTableName()
    {
        if (null == $this->tableName) {
            $this->tableName = $this->determineTableName();
        }
        return $this->tableName;
    }
1299262
@Override
    public String getName() {
        final String tableNamePrefix = StringUtils.isNotBlank(Latkes.getLocalProperty("jdbc.tablePrefix"))
                ? Latkes.getLocalProperty("jdbc.tablePrefix") + "_"
                : "";

        return tableNamePrefix + name;
    }
455346
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(ISSUE_HISTORY_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
759212
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(ISSUE_CONTROL_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
529516
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(REGISTRATION_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
76104
protected Table getTableFromDB(String tableName) {
        Table table = m_db.getTables().getExact(tableName);
        return table;
    }
1037607
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(ISSUE_PRIORITY_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
181732
String getDatabaseName(String dbName) {
        if (mFileNameMap == null) {
            return null;
        }
        String name = mFileNameMap.get(dbName);
        if (name == null && dbName != null) {
            name = mFileNameMap.get(null);
        }
        if (name == null) {
            return null;
        }
        if (mDatabaseHook != null) {
            try {
                dbName = mDatabaseHook.databaseName(dbName);
            } catch (IncompatibleClassChangeError e) {
                // Method not implemented.
            }
        }
        return dbName;
    }
738717
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(ISSUE_STATUS_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
404171
public function getDbName()
    {
        $indexes = DataObject::getSchema()->databaseIndexes($this->model);
        if (array_key_exists($this->getName(), $indexes)) {
            $index = $indexes[$this->getName()];
        } else {
            return parent::getDbName();
        }
        if (is_array($index) && array_key_exists('columns', $index)) {
            return $this->prepareColumns($index['columns']);
        } else {
            throw new Exception(sprintf(
                "Invalid fulltext index format for '%s' on '%s'",
                var_export($this->getName(), true),
                var_export($this->model, true)
            ));
        }
    }
336900
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(LAYOUT_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
253509
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(PROJECT_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }