Hi foks
I have a beforeStore field in action and an afterStore field in action.
They both call the same file, with which I use to call my class and methods....
The methods used depend upon after or before event, so I am checking more or less like this:
if (class_exists('plgCCK_FieldCode_BeforeStore'))
{
$beforeStore = 1;
$afterStore = 0;
}
if (class_exists('plgCCK_FieldCode_AfterStore'))
{
$beforeStore = 0;
$afterStore = 1;
}
Any better or preferred ways to do this?
Jon