adler
Založený: 06.01.2011
Príspevky: 5
Zaslal: 2011-01-18 21:06
Návrat hore
Odpovedať s citátom
|
hi,
i'd appreciate your help - I've added this two triggers:
| Kód: |
$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:
| Kód: |
| $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 :)
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|