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.49 and 1.50

version 1.49, 2004/04/14 20:28:52 version 1.50, 2004/04/14 20:38:51
Line 1 
Line 1 
 <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.48 2004/04/12 22:20:24 nepto Exp $ -->  <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.49 2004/04/14 20:28:52 nepto Exp $ -->
   
 <!-- Categories:  
   
 1. Basic options  
 2. Booleans  
 3. Input values restrictions  
 4. Output control  
 5. URL linking  
   
 -->  
   
 <sect1 id="configuration.fields-overview">  <sect1 id="configuration.fields-overview">
 <title id="configuration.fields-overview.title">Definition overview</title>  <title id="configuration.fields-overview.title">Definition overview</title>
Line 78  above) or you will add separated option
Line 68  above) or you will add separated option
 definition as it is described in second case.  definition as it is described in second case.
   
 </para>  </para>
   
 <!-- DEPRECATED  
   
 <para>  
   
 If the column is an auto-incremented record id, add the following option below  
 this array. Doing this will disable the display of an input box for the record  
 id when adding or updating records.  
   
 </para>  
 <para>  
   
 <example><title>Definition for autoincrement ID</title>  
 <programlisting><![CDATA[  
 $opts['fdd']['col_name']['options'] = 'RACPVDLF';  
 ]]></programlisting>  
 </example>  
   
 </para>  
 -->  
 </sect1>  </sect1>
   
 <sect1 id="configuration.basic-options">  <sect1 id="configuration.basic-options">
Line 410  $opts['fdd']['col_name']['values'] = ran
Line 380  $opts['fdd']['col_name']['values'] = ran
 </example>  </example>
   
 </para>  </para>
 <!--  
 <para>  
   
 If a column type is SET or ENUM, the specified values will be available in a  
 multiple selection box in certain display modes (add, change, etc.).  
   
 </para>  
 -->  
   
 <bridgehead>Table lookup</bridgehead>  <bridgehead>Table lookup</bridgehead>
 <para>  <para>
Line 755  Note that currently only fields displayi
Line 717  Note that currently only fields displayi
 fields concerning to these masks will be implemented in the nearly future.  fields concerning to these masks will be implemented in the nearly future.
   
 </para>  </para>
   
 <!--  
 <bridgehead id="configuration.daterange">Date range</bridgehead>  
 <para>  
   
 A range of numbers which represent years. Examples include:  
   
 <example><title>Date range field definition</title>  
 <programlisting><![CDATA[  
 $opts['fdd']['col_name']['daterange']['start'] = 1996;  
 $opts['fdd']['col_name']['daterange']['end']   = 2020;  
   
 $opts['fdd']['col_name']['daterange']['start'] = 1996;  
 $opts['fdd']['col_name']['daterange']['end'] = $opts['fdd']['col_name']['daterange']['start']+20;  
 ]]></programlisting>  
 </example>  
   
 </para>  
 -->  
   
 </sect1>  </sect1>
   
 <sect1 id="configuration.url-linking">  <sect1 id="configuration.url-linking">
Line 1127  endterm="configuration.options"> subsect
Line 1069  endterm="configuration.options"> subsect
 </para>  </para>
 </sect1>  </sect1>
   
 <!-- ----- -->  
   
 <!--  
 <bridgehead id="configuration.calculated-expressions">  
 Calculated expressions</bridgehead>  
 <para>  
   
 <example><title>Calculated expressions</title>  
 <programlisting><![CDATA[  
 $opts['fdd']['other']['name']='Col Header';  
 $opts['fdd']['other']['expression']='onHand-ordered';  
 $opts['fdd']['other']['sort']='T:!';  
 $opts['fdd']['other']['select']='T';  
 $opts['fdd']['other']['type']='int';  
 ]]></programlisting>  
 </example>  
   
 </para>  
 <para>  
   
 <itemizedlist>  
 <listitem><para>  
 'other' can be anything, but needs to be unique within the list of $opts['fdd'] keys  
 </para></listitem>  
 <listitem><para>  
 'expression' can be any valid MySQL expression  
 </para></listitem>  
 <listitem><para>  
 'type' should reflect the results of the expression, e.g. 'int' or 'string'  
 </para></listitem>  
 </itemizedlist>  
   
 </para>  
 <para>  
   
 All other options work as with other, normal columns. This kind of column is  
 always read-only.  
   
 </para>  
 -->  
   

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

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