Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 28. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  need help with passing variables using triggers

phpMyEdit Configuration     need help with passing variables using triggers
Odoslať novú tému   Odpovedať na tému    
 
adler     Založený: 06.01.2011   Príspevky: 5  
Príspevok 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    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov