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.fields.sgml medzi verziami 1.49 a 1.50

verzia 1.49, 2004/04/14 20:28:52 verzia 1.50, 2004/04/14 20:38:51
Riadok 1 
Riadok 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>
Riadok 78  above) or you will add separated option
Riadok 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">
Riadok 410  $opts['fdd']['col_name']['values'] = ran
Riadok 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>
Riadok 755  Note that currently only fields displayi
Riadok 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">
Riadok 1127  endterm="configuration.options"> subsect
Riadok 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:
Odstranené z verzie1.49  
zmenené riadky
  Pridané vo verzii1.50

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