public function getTable($tableName)
    {
        if (is_array($tableName)) {
            list($tableName, $entitySuffix) = $tableName;
        } else {
            $entitySuffix = null;
        }

        if ($entitySuffix !== null) {
            $tableName .= '_' . $entitySuffix;
        }

        if (!isset($this->_tables[$tableName])) {
            $this->_tables[$tableName] = $this->_resources->getTableName(
                $tableName,
                ResourceConnection::DEFAULT_CONNECTION
            );
        }

        return $this->_tables[$tableName];
    }
public function getTable($tableName)
    {
        if (is_array($tableName)) {
            list($tableName, $entitySuffix) = $tableName;
        } else {
            $entitySuffix = null;
        }

        if ($entitySuffix !== null) {
            $tableName .= '_' . $entitySuffix;
        }

        if (!isset($this->_tables[$tableName])) {
            $this->_tables[$tableName] = $this->_resources->getTableName(
                $tableName,
                ResourceConnection::DEFAULT_CONNECTION
            );
        }

        return $this->_tables[$tableName];
    }
public function getTable ( $ tableName ) { if ( is_array ( $ tableName ) ) { list ( $ tableName , $ entitySuffix ) = $ tableName ; } else { $ entitySuffix = null ; } if ( $ entitySuffix !== null ) { $ tableName .= '_' . $ entitySuffix ; } if ( ! isset ( $ this -> _tables [ $ tableName ] ) ) { $ this -> _tables [ $ tableName ] = $ this -> _resources -> getTableName ( $ tableName , ResourceConnection :: DEFAULT_CONNECTION ) ; } return $ this -> _tables [ $ tableName ] ; }
Get real table name for db table, validated by db adapter

@param string $tableName

@return string
@api
Get real table name for db table validated by db adapter