Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  need help with passing variables using triggers

phpMyEdit Configuration     need help with passing variables using triggers
Post new topic   Reply to topic    
 
adler     Joined: 06 Jan 2011   Posts: 5  
Post 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    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy