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  »  Triggers

phpMyEdit Features     Triggers
Odoslať novú tému   Odpovedať na tému    
 
newmikey     Založený: 23.10.2003   Príspevky: 2  
Príspevok Zaslal: 2003-10-23 09:53
Návrat hore  Odpovedať s citátom     

As I can't seem to find a search functionality in this forum the question may have already been asked:

How exactly can the variables like $newvals, $this->key
etc be used in a trigger file?

I would like to use a TIA (after insert trigger) to extract the newly added record ID from $newvals and put it in a $_SESSION variable to be processed by another page.

Hope to find answers

Mike

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2003-10-23 21:18
Návrat hore  Odpovedať s citátom     

trigers are put into action via include,
$ret = include($this->triggers['insert']['before']);
so all variables are addressed normally, as if they were declared within the trigger file.

 
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