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.4 a 1.5

verzia 1.4, 2002/12/11 18:27:55 verzia 1.5, 2002/12/11 23:36:52
Riadok 1 
Riadok 1 
 <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.3 2002/12/05 01:27:19 nepto Exp $ -->  <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.4 2002/12/11 18:27:55 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 90  possible unique key types are 'real' or
Riadok 90  possible unique key types are 'real' or
   
 If you are using 'real' key type and some problems with record manipulaton have  If you are using 'real' key type and some problems with record manipulaton have
 occured, it is probably because your MySQL key datatype is 'float'. Comparsions  occured, it is probably because your MySQL key datatype is 'float'. Comparsions
 with this datatype is common problem in most computer languages (SQL including),  with this datatype is a common problem in most computer languages (SQL including),
 because floating-point values are not exact values.  In most cases, changing  because floating-point values are not exact values.  In most cases, changing
 MySQL datatype from 'float' to 'double' and preserving 'real' as &name; key type  MySQL datatype from 'float' to 'double' and preserving 'real' as &name; key type
 should solve this problem.  should solve this problem.
Riadok 218  Other URLs for another elements may be a
Riadok 218  Other URLs for another elements may be a
 <title id="configuration.code-execution.title">Code execution</title>  <title id="configuration.code-execution.title">Code execution</title>
 <para>  <para>
   
 Since version 4.0 &name; will automatically starts its execution.  Since version 4.0, &name; automatically starts its execution.
   
 You can turn this feature off by setting:  You can turn this feature off by setting:
   
 <example><title>Turning off default execution</title>  <example><title>Turning off default execution</title>
Riadok 314  administrator with the ability to delete
Riadok 313  administrator with the ability to delete
 &name; offers powerful default and/or additional sorting capabilities via  &name; offers powerful default and/or additional sorting capabilities via
 <varname>$opts['sort_field']</varname> option. You can define column name or  <varname>$opts['sort_field']</varname> option. You can define column name or
 column field number you'd prefer to sort on when the script is first loaded. To  column field number you'd prefer to sort on when the script is first loaded. To
 get descending sort order, prefix column name or field number with dash (-)  get descending sort order, prefix the column name or field number with dash (-)
 sign. Look at few following examples:  sign. Look at the following examples:
   
 <example><title>Sort field option</title>  <example><title>Sort field option</title>
 <programlisting><![CDATA[  <programlisting><![CDATA[
Riadok 343  $opts['sort_field'] = array('company', '
Riadok 342  $opts['sort_field'] = array('company', '
 </para>  </para>
 <para>  <para>
   
 Also note, that &name; sorting feature is cumulative. This exactly mean, that if  Also note that &name;'s sorting feature is cumulative. This means, that if
 default sort fields are specified and user selects (clicks) to sort by another  default sort fields are specified and the user selects (clicks) to sort by
 column in table listing screen, resulting screen will be sorted by user selected  another column in table listing screen, the resulting screen will be sorted by
 column first and than by specified default sort fields. Next click on another  user selected column first and then by specified default sort fields.  Next
 sort column will again force to sort table by selected column first. Previously  click on another sort column will again force to sort table by selected column
 selected fields or default ones will follow up in sorting sequence.  first. Previously selected fields or default ones will follow up in sorting
   sequence.
   
 </para>  </para>
 <para>  <para>
Riadok 483  not 'transaction-safe'.
Riadok 483  not 'transaction-safe'.
 </para>  </para>
 <para>  <para>
   
 Triggers are risky in basic MySQL as there is no native transaction support--it  Triggers are risky in basic MySQL as there is no native transaction support.  It
 is not transaction-safe by default. There are transaction-safe table types in  is not transaction-safe by default. There are transaction-safe table types in
 MySQL that can be conditionally built (see MySQL-Max), but &name; is currently  MySQL that can be conditionally built (see MySQL-Max), but &name; is currently
 not set up to support real transactions.  What that means is that if an  not set up to support real transactions.  What that means is that if an
Riadok 504  They _must_ return true or false to indi
Riadok 504  They _must_ return true or false to indi
 </para>  </para>
 <para>  <para>
   
 <example><title>Triggers ussage</title>  <example><title>Triggers usage</title>
 <programlisting><![CDATA[  <programlisting><![CDATA[
 $opts['triggers']['insert']['before']='categories.TIB.inc';  $opts['triggers']['insert']['before'] = 'categories.TIB.inc';
 $opts['triggers']['insert']['after'] ='categories.TIA.inc';  $opts['triggers']['insert']['after']  = 'categories.TIA.inc';
 $opts['triggers']['update']['before']='categories.TUB.inc';  $opts['triggers']['update']['before'] = 'categories.TUB.inc';
 $opts['triggers']['update']['after'] ='categories.TUA.inc';  $opts['triggers']['update']['after']  = 'categories.TUA.inc';
 $opts['triggers']['delete']['before']='categories.TDB.inc';  $opts['triggers']['delete']['before'] = 'categories.TDB.inc';
 $opts['triggers']['delete']['after'] ='categories.TDA.inc';  $opts['triggers']['delete']['after']  = 'categories.TDA.inc';
 ]]></programlisting>  ]]></programlisting>
 </example>  </example>
   
Riadok 597  Available languages are:
Riadok 597  Available languages are:
 <title id="configuration.cgi-variables.title">CGI variables</title>  <title id="configuration.cgi-variables.title">CGI variables</title>
 <para>  <para>
   
 You can optionally append or overwrite particular variables returned from CGI  You can optionally append or overwrite particular variables returned from the
 environment (GET/POST HTTP protocol data). Use these two arrays for this  CGI environment (GET/POST HTTP protocol data). Use these two arrays for this
 purpose, where array key mean CGI variable name and value means CGI variable  purpose, where array key mean CGI variable name and value means CGI variable
 value.  value.
   
 </para>  </para>
 <para>  <para>
   
 This will cause descending sorting according first field if other type of sort  This will turn on search filter on script initialization. However, it is
 was not specified/selected by user.  still possible to turn it off by explicit click on <GUIbutton>Hide</> or
   <GUIbutton>Clear</> button.
   
 <example><title>CGI variables appending</title>  <example><title>CGI variables appending</title>
 <programlisting><![CDATA[  <programlisting><![CDATA[
 $opts['cgi']['append'] = array('sfn' => '-0');  $opts['cgi']['append']['fl'] = 1
 ]]></programlisting></example>  ]]></programlisting></example>
   
 </para>  </para>
 <para>  <para>
   
 This will cause the same sort allways in all cases.  Next example shows how to cause descending sorting according first field in all
   cases. Because <varname>['overwrite']</varname> is used, sorting column cannot
   be altered by user by clicking on column heading.
   
 <example><title>CGI variables overwriting</title>  <example><title>CGI variables overwriting</title>
 <programlisting><![CDATA[  <programlisting><![CDATA[
 $opts['cgi']['overwrite'] = array('sfn' => '-0');  $opts['cgi']['overwrite']['sfn'] = '-0';
 ]]></programlisting></example>  ]]></programlisting></example>
   
 </para>  </para>

Legend:
Odstranené z verzie1.4  
zmenené riadky
  Pridané vo verzii1.5

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