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

phpMyEdit Configuration     Trigger Example
Odoslať novú tému   Odpovedať na tému    
 
ebizworks     Založený: 26.03.2003   Príspevky: 2  
Príspevok Zaslal: 2003-03-27 18:19
Návrat hore  Odpovedať s citátom     

Could someone provide me an example of how a trigger would be implemented? Where do you specify the php script to be executed? For example, in an after update trigger. Jim Gray

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-04-08 17:47
Návrat hore  Odpovedať s citátom     

Triggers documentation was updated. I hope that its usage is much more clear now.

http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.triggers.html

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-07-21 20:33
Návrat hore  Odpovedať s citátom     

Some examples of triggers can be found also in phpMyEzin project. See directory phpMyEzin/admin/inc-db/triggers/

http://opensource.platon.sk/projects/phpMyEzin/

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-07-22 22:01
Návrat hore  Odpovedať s citátom     

Yes, this is actually very good example of delete trigger. However if file related to particular record does not exists, record simply become undeletable. It is because if before trigger returns false , then operation is cancelled immidiatelly and no furher (in this case removal) action is performed.

 
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