Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 14. október 2026

Rozdiely pre phpMyEdit/doc/sgml/configuration.general.sgml medzi verziami 1.47 a 1.48

verzia 1.47, 2004/12/08 16:21:17 verzia 1.48, 2004/12/13 21:12:54
Riadok 1 
Riadok 1 
 <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.46 2004/11/20 02:24:34 nepto Exp $ -->  <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.47 2004/12/08 16:21:17 nepto Exp $ -->
   
 <sect1 id="configuration.mysql-options">  <sect1 id="configuration.mysql-options">
 <title id="configuration.mysql-options.title">Database connection</title>  <title id="configuration.mysql-options.title">Database connection</title>
Riadok 521  and without the need to enter them manua
Riadok 521  and without the need to enter them manua
 <bridgehead>Triggers overview</bridgehead>  <bridgehead>Triggers overview</bridgehead>
 <para>  <para>
   
 Triggers are files that are included via <function>include()</function>  Triggers provide advanced users with the ability to write their own PHP
 statement. SQL triggers are included before or after insert, update, or delete of  scripts for such things as validating user input, and to have their code
 record. FORM triggers are included before displaying the form that will allow  executed at the appropriate time. Triggers are files that are included via
 the corresponding operation, or after the user canceled this form.  an&nbsp;<function>include()</function> statement and conditionally executed by
   <filename>phpMyEdit.class.php</filename>. SQL triggers are included before or
   after insert, update, or delete of record. FORM triggers are included before
   displaying the form that will allow the corresponding operation, or after the
   user canceled this form.
   
 </para>  </para>
 <para>  <para>
   
 <itemizedlist spacing="compact">  <itemizedlist spacing="compact">
 <listitem><simpara>View form is related to 'select' operation.</simpara></listitem>  <listitem><simpara>View form is related to the 'select' operation.</simpara></listitem>
 <listitem><simpara>Add and Copy forms are related to 'insert' operation</simpara></listitem>  <listitem><simpara>Add and Copy forms are related to the 'insert' operation</simpara></listitem>
 <listitem><simpara>Edit form is related to 'update' operation.</simpara></listitem>  <listitem><simpara>Edit form is related to the 'update' operation.</simpara></listitem>
 <listitem><simpara>Delete form is related to 'delete' operation.</simpara></listitem>  <listitem><simpara>Delete form is related to the 'delete' operation.</simpara></listitem>
 </itemizedlist>  </itemizedlist>
   
 </para>  </para>
Riadok 679  operation described. All involved trigge
Riadok 683  operation described. All involved trigge
 <listitem><simpara>user starts from the list page</simpara></listitem>  <listitem><simpara>user starts from the list page</simpara></listitem>
 <listitem><simpara>user asks to view a record</simpara></listitem>  <listitem><simpara>user asks to view a record</simpara></listitem>
 <listitem><simpara><varname>['select']['pre']</varname> trigger is included (if defined)</simpara></listitem>  <listitem><simpara><varname>['select']['pre']</varname> trigger is included (if defined)</simpara></listitem>
 <listitem><simpara>if <constant>true</constant> is returned than continue, else go back to list page</simpara></listitem>  <listitem><simpara>if <constant>true</constant> is returned then continue, else go back to list page</simpara></listitem>
   
 <listitem><simpara>user is now in the view page</simpara></listitem>  <listitem><simpara>user is now in the view page</simpara></listitem>
 <listitem><simpara>user asks to edit the record</simpara></listitem>  <listitem><simpara>user asks to edit the record</simpara></listitem>
 <listitem><simpara><varname>['update']['pre']</varname> trigger is included (if defined)</simpara></listitem>  <listitem><simpara><varname>['update']['pre']</varname> trigger is included (if defined)</simpara></listitem>
 <listitem><simpara>if <constant>true</constant> is returned than continue, else go back to view page</simpara></listitem>  <listitem><simpara>if <constant>true</constant> is returned then continue, else go back to view page</simpara></listitem>
   
 <listitem><simpara>user is now in the edit page</simpara></listitem>  <listitem><simpara>user is now in the edit page</simpara></listitem>
 <listitem><simpara>user makes some changes and asks to apply (save and continue)</simpara></listitem>  <listitem><simpara>user makes some changes and asks to apply (save and continue)</simpara></listitem>
 <listitem><simpara><varname>['update']['before']</varname> trigger is included (if defined)</simpara></listitem>  <listitem><simpara><varname>['update']['before']</varname> trigger is included (if defined)</simpara></listitem>
 <listitem><simpara>if <constant>true</constant> is returned than continue, else, back to list without updating</simpara></listitem>  <listitem><simpara>if <constant>true</constant> is returned then continue, else, back to list without updating</simpara></listitem>
 <listitem><simpara>record is updated in the database</simpara></listitem>  <listitem><simpara>record is updated in the database</simpara></listitem>
 <listitem><simpara><varname>['update']['after']</varname> trigger is included (if defined)</simpara></listitem>  <listitem><simpara><varname>['update']['after']</varname> trigger is included (if defined)</simpara></listitem>
 <listitem><simpara><varname>['update']['pre']</varname> trigger is included (if defined)</simpara></listitem>  <listitem><simpara><varname>['update']['pre']</varname> trigger is included (if defined)</simpara></listitem>
 <listitem><simpara>if <constant>true</constant> is returned than continue, else go back to view page</simpara></listitem>  <listitem><simpara>if <constant>true</constant> is returned then continue, else go back to view page</simpara></listitem>
   
 <listitem><simpara>user is now back to the edit page</simpara></listitem>  <listitem><simpara>user is now back to the edit page</simpara></listitem>
 <listitem><simpara>user makes some other changes but asks to cancel them</simpara></listitem>  <listitem><simpara>user makes some other changes but asks to cancel them</simpara></listitem>
Riadok 731  them affect only a particular action.
Riadok 735  them affect only a particular action.
 </simplelist>  </simplelist>
   
 There are also other variables available. For example every class property can  There are also other variables available. For example every class property can
 be accessed using <varname>$this</> object reference. All variables occurs in  be accessed using <varname>$this</> object reference. All variables occur in
 'before' triggers as well as in 'after' triggers.  'before' triggers as well as in 'after' triggers.
 Only class properties occurs in 'pre' and 'cancel' triggers currently.  Only class properties occurs in 'pre' and 'cancel' triggers currently.
   

Legend:
Odstranené z verzie1.47  
zmenené riadky
  Pridané vo verzii1.48

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok