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:
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
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.http://www.iuni.com/...tware/web/index.html
Links Plugins