public function getForeignTableName()
    {
        $platform = $this->getPlatform();
        if ($this->foreignSchemaName && $platform->supportsSchemas()) {
            return $this->foreignSchemaName
                . $platform->getSchemaDelimiter()
                . $this->foreignTableCommonName
            ;
        }

        $database = $this->getDatabase();
        if ($database && ($schema = $this->parentTable->guessSchemaName()) && $platform->supportsSchemas()) {
            return $schema
                . $platform->getSchemaDelimiter()
                . $this->foreignTableCommonName
            ;
        }

        return $this->foreignTableCommonName;
    }
public function getForeignTableName()
    {
        $platform = $this->getPlatform();
        if ($this->foreignSchemaName && $platform->supportsSchemas()) {
            return $this->foreignSchemaName
                . $platform->getSchemaDelimiter()
                . $this->foreignTableCommonName
            ;
        }

        $database = $this->getDatabase();
        if ($database && ($schema = $this->parentTable->guessSchemaName()) && $platform->supportsSchemas()) {
            return $schema
                . $platform->getSchemaDelimiter()
                . $this->foreignTableCommonName
            ;
        }

        return $this->foreignTableCommonName;
    }
public function getForeignTableName ( ) { $ platform = $ this -> getPlatform ( ) ; if ( $ this -> foreignSchemaName && $ platform -> supportsSchemas ( ) ) { return $ this -> foreignSchemaName . $ platform -> getSchemaDelimiter ( ) . $ this -> foreignTableCommonName ; } $ database = $ this -> getDatabase ( ) ; if ( $ database && ( $ schema = $ this -> parentTable -> guessSchemaName ( ) ) && $ platform -> supportsSchemas ( ) ) { return $ schema . $ platform -> getSchemaDelimiter ( ) . $ this -> foreignTableCommonName ; } return $ this -> foreignTableCommonName ; }
Returns the foreign table name of the FK.

@return string
Returns the foreign table name of the FK .