/** * Sets current database's index. * * * You may use this function to select the database you want to use. * * @version 0.2.0b+SVN * @since 0.2.0b+SVN * @set current database handle. */ public static function setCurrentDB($db_id = self::DB_DEFAULT_ID) { if (isset($db_id) && $db_id >= 0) { self::$db_cur = $db_id; } }