irm-1.6-b3/MDB/Modules/Manager/fbsql.php
/**
     * list all sequences in the current database
     *
     * @param object    $dbs        database object that is extended by this class
     * @return mixed data array on success, a MDB error on failure
     * @access public
     */
list all sequences in the current database
@param object    $dbs        database object that is extended by this class
@return mixed data array on success, a MDB error on failure
@access public
list all sequences in the current database @param object $dbs database object that is extended by this class @return mixed data array on success a MDB error on failure @access public
function listSequences(&$db)
    {
        $table_names = $db->queryCol('SHOW TABLES');
        if(MDB::isError($table_names)) {
            return($table_names);
        }
        for($i = 0, $j = count($table_names), $sequences = array(); $i < $j; ++$i)
        {
            if ($sqn = $this->_isSequenceName($db, $table_names[$i]))
                $sequences[] = $sqn;
        }
        return($sequences);
    }
function listSequences ( & $ db ) { $ table_names = $ db -> queryCol ( 'SHOW TABLES' ) ; if ( MDB :: isError ( $ table_names ) ) { return ( $ table_names ) ; } for ( $ i = 0 , $ j = count ( $ table_names ) , $ sequences = array ( ) ; $ i < $ j ; ++ $ i ) { if ( $ sqn = $ this -> _isSequenceName ( $ db , $ table_names [ $ i ] ) ) $ sequences [ ] = $ sqn ; } return ( $ sequences ) ; }
list all sequences in the current database
 @param object    $dbs        database object that is extended by this class
 @return mixed data array on success, a MDB error on failure
 @access public
list all sequences in the current database @param object $dbs database object that is extended by this class @return mixed data array on success a MDB error on failure @access public