Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  variables available in 'php'

phpMyEdit General     variables available in 'php'
Odoslať novú tému   Odpovedať na tému    
 
anax     Založený: 19.10.2007   Príspevky: 6  
Príspevok Zaslal: 2007-10-19 20:20
Návrat hore  Odpovedať s citátom     

Cheers for great software!

I've created a file
'php|AC' => 'Amount.php',
to help in creation of a dynamic Add and Change form.

I simply need to know what variable holds the value of the field (when in Change mode), which I can use in Amount.php. I'm currently using
$this->rec
and making a query with it, but this is rather cumbersome.

thanks.

 
anax     Založený: 19.10.2007   Príspevky: 6  
Príspevok Zaslal: 2007-10-20 23:37
Návrat hore  Odpovedať s citátom     

Thanks for that... dbug provides an elegant view of the class. And I think it answered my question. i.e. there is no variable available that holds the value of a field accessible from the 'php' file I use to replace a field.

I think what I was after was something like the $oldvals array available in triggers.

 
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