private static function addQueries() {
        self::$debugbar->addCollector(new MessagesCollector('queries'));
        self::$queries = ORM::get_query_log();
        if (self::$queries) {
            foreach (self::$queries as $query) {
                self::$debugbar['queries']->info($query);
            }
        }
    }
private static function addQueries() {
        self::$debugbar->addCollector(new MessagesCollector('queries'));
        self::$queries = ORM::get_query_log();
        if (self::$queries) {
            foreach (self::$queries as $query) {
                self::$debugbar['queries']->info($query);
            }
        }
    }
private static function addQueries ( ) { self :: $ debugbar -> addCollector ( new MessagesCollector ( 'queries' ) ) ; self :: $ queries = ORM :: get_query_log ( ) ; if ( self :: $ queries ) { foreach ( self :: $ queries as $ query ) { self :: $ debugbar [ 'queries' ] -> info ( $ query ) ; } } }
Collects the queries

@return void
Collects the queries