lib/ezdb/classes/ezdbinterface.php
function relationName( $relationType )
    {
        $names = array( eZDBInterface::RELATION_TABLE => 'TABLE',
                        eZDBInterface::RELATION_SEQUENCE => 'SEQUENCE',
                        eZDBInterface::RELATION_TRIGGER => 'TRIGGER',
                        eZDBInterface::RELATION_VIEW => 'VIEW',
                        eZDBInterface::RELATION_INDEX => 'INDEX' );
        if ( !isset( $names[$relationType] ) )
            return false;
        return $names[$relationType];
    }
function relationName( $relationType )
    {
        $names = array( eZDBInterface::RELATION_TABLE => 'TABLE',
                        eZDBInterface::RELATION_SEQUENCE => 'SEQUENCE',
                        eZDBInterface::RELATION_TRIGGER => 'TRIGGER',
                        eZDBInterface::RELATION_VIEW => 'VIEW',
                        eZDBInterface::RELATION_INDEX => 'INDEX' );
        if ( !isset( $names[$relationType] ) )
            return false;
        return $names[$relationType];
    }
function relationName ( $ relationType ) { $ names = array ( eZDBInterface :: RELATION_TABLE => 'TABLE' , eZDBInterface :: RELATION_SEQUENCE => 'SEQUENCE' , eZDBInterface :: RELATION_TRIGGER => 'TRIGGER' , eZDBInterface :: RELATION_VIEW => 'VIEW' , eZDBInterface :: RELATION_INDEX => 'INDEX' ) ; if ( ! isset ( $ names [ $ relationType ] ) ) return false ; return $ names [ $ relationType ] ; }
Returns the name of the relation type which is usable in SQL or false if unknown type.

This function can be used by some database handlers which can operate on relation types using SQL.

@access protected
@param int $relationType
@return bool
Returns the name of the relation type which is usable in SQL or false if unknown type .