adler
Joined: 06 Jan 2011
Posts: 5
Posted: 2011-01-18 21:06
Back to top
Reply with quote
|
hi,
i'd appreciate your help - I've added this two triggers:
| Code: |
$opts['triggers']['insert']['pre'] = 'products.preInsert.inc.php';
$opts['triggers']['insert']['after'] = 'products.afterInsert.inc.php'; |
the only thing that the 'pre' trigger does is:
| Code: |
| $product = $this->rec; |
but i need to use this $product value in the 'after' trigger. what code can i add (i guess) in 'pre' in order to keep that value to be available in 'after'?
maybe a way to pass it as a CGI var?
thanks :)
|
|
Post new topic
Reply to topic
|
|
|