Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for phpMyEdit/doc/sgml/configuration.fields.sgml between version 1.11 and 1.12

version 1.11, 2002/12/31 00:12:24 version 1.12, 2003/01/01 13:44:27
Line 1 
Line 1 
 <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.10 2002/12/14 04:37:56 nepto Exp $ -->  <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.11 2002/12/31 00:12:24 nepto Exp $ -->
   
 <!-- Categories:  <!-- Categories:
   
Line 377  values using <varname>['filters']</>, an
Line 377  values using <varname>['filters']</>, an
   
 Additional values to table lookup could be stored in  Additional values to table lookup could be stored in
 <varname>['values2']</varname> array. The main difference between simple  <varname>['values2']</varname> array. The main difference between simple
 <varname>['values']</varname> usage is, that array keys will be stored into DB  <varname>['values']</varname> usage is, that array keys will be stored into
 and array values will be printed out in input section boxes. This is especially  database and array values will be printed out in input section boxes. This is
 useful for MySQL enumerations when you do not want to print out enumeration  especially useful for MySQL enumerations when you do not want to print out
 keys, but rather some more user-friendly texts. See example:  enumeration keys, but rather some more user-friendly texts. See example:
   
 <example><title>Input restriction using additional values</title>  <example><title>Input restriction using additional values</title>
 <programlisting><![CDATA[  <programlisting><![CDATA[
 $opts['fdd']['col_name']['values2'] = array(  $opts['fdd']['col_name']['values2'] = array(
         'hidden'   => 'Hidden Article',          'displayed' => 'Displayed Article',
         'showed'   => 'Showed Article',          'hidden'    => 'Hidden Article',
         'disabled' => 'Disabled Article',          'disabled'  => 'Disabled Article',
         'deleted'  => 'Deleted Article'          'deleted'   => 'Deleted Article'
 );  );
 ]]></programlisting>  ]]></programlisting>
 </example>  </example>
Line 396  $opts['fdd']['col_name']['values2'] = ar
Line 396  $opts['fdd']['col_name']['values2'] = ar
 </para>  </para>
 <para>  <para>
   
 In the example above, keywords 'hidden', 'showed', 'disabled' and 'deleted' will be  In the example above, keywords 'displayed', 'hidden', 'disabled' and 'deleted'
 stored in database, but user-friendly expressions will be showed in select box  will be stored in database, but user-friendly expressions will appear in
 for user.  Usage of <varname>['values2']</> can be combined with  select box for user. Usage of <varname>['values2']</> can be combined with
 <varname>['values']</> usage.  <varname>['values']</> usage.
   
 </para>  </para>

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top