irm-1.6-b3/MDB/Modules/Manager/Common.php
/**
     * list all tables in the current database
     *
     * @param object    $dbs        database object that is extended by this class
     * @param string $sqn string that containts name of a potential sequence
     * @return mixed name of the sequence if $sqn is a name of a sequence, else FALSE
     * @access private
     */
list all tables in the current database
@param object    $dbs        database object that is extended by this class
@param string $sqn string that containts name of a potential sequence
@return mixed name of the sequence if $sqn is a name of a sequence, else FALSE
@access private
list all tables in the current database @param object $dbs database object that is extended by this class @param string $sqn string that containts name of a potential sequence @return mixed name of the sequence if $sqn is a name of a sequence else FALSE @access private
function _isSequenceName(&$db, $sqn)
    {
        $seq_pattern = '/^'.preg_replace('/%s/', '([a-z0-9_]+)', $db->options['seqname_format']).'$/i';
        $seq_name = preg_replace($seq_pattern, '\\1', $sqn);
        if($seq_name && $sqn == $db->getSequenceName($seq_name)) {
            return($seq_name);
        }
        return(FALSE);
    }
function _isSequenceName ( & $ db , $ sqn ) { $ seq_pattern = '/^' . preg_replace ( '/%s/' , '([a-z0-9_]+)' , $ db -> options [ 'seqname_format' ] ) . '$/i' ; $ seq_name = preg_replace ( $ seq_pattern , '\\1' , $ sqn ) ; if ( $ seq_name && $ sqn == $ db -> getSequenceName ( $ seq_name ) ) { return ( $ seq_name ) ; } return ( FALSE ) ; }
list all tables in the current database
 @param object    $dbs        database object that is extended by this class
 @param string $sqn string that containts name of a potential sequence
 @return mixed name of the sequence if $sqn is a name of a sequence, else FALSE
 @access private
list all tables in the current database @param object $dbs database object that is extended by this class @param string $sqn string that containts name of a potential sequence @return mixed name of the sequence if $sqn is a name of a sequence else FALSE @access private