Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [Alex] Can't find Hook: Edit Log

Here is the list of edits for this post
Re: [Alex] Can't find Hook
Hi Alex,

Please expect a couple of dumb questions coming up.

Where should I create the subclass:

my $table = $DB->table('TableName');
$table->subclass( table => { TableName => 'Plugins::EditorMonitor::Table' });
$table->save_state;


Should this by in my install.pm? or in the newly created module... sorry , I am a little confused about setting it up.

EDIT:

Quote:
then anywhere in the Links SQL code, or anywhere in any code that gets its table from $DB->table(), it will invoke your code.
I should really keep what ever function it calls to a minimum then. Basically retreive the values I need at this point and store them in my other Editors Table (EditorDetails).


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jun 11, 2002, 9:24 PM

Edit Log: