Gossamer Forum
Quote Reply
get_all_categories()
Could someone point me in the direction of sub get_all_categories() ? In admin/Links/Users/Add.pm, I am seeing;

Code:
if ($CFG->{db_gen_category_list}) {
my $db = $DB->table('Links');
my $html = $DB->html($db, $IN);
my @ids = $IN->param('CatLinks.CategoryID') || $IN->param('ID');
$category = $html->get_all_categories(\@ids, 'CatLinks.CategoryID', 1);
}

If I'm correct, $DB is a reference to GT::SQL. I've searched through all of the files in /admin/GT/SQL/, but can't see where it is located. I need to find it so I can change the category select for users into a multi-select.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread get_all_categories() Andy 2336 Jul 4, 2003, 2:24 AM
Post Re: [Andy] get_all_categories()
Andy 2206 Jul 5, 2003, 1:57 AM
Thread Re: [Andy] get_all_categories()
Paul 2205 Jul 5, 2003, 3:03 AM
Post Re: [Paul] get_all_categories()
Andy 2205 Jul 5, 2003, 4:07 AM