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.26 a 1.27

verzia 1.26, 2003/05/12 22:30:22 verzia 1.27, 2003/05/16 23:45:38
Riadok 1 
Riadok 1 
 <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.25 2003/05/02 17:51:33 nepto Exp $ -->  <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.26 2003/05/12 22:30:22 nepto Exp $ -->
   
 <!-- Categories:  <!-- Categories:
   
Riadok 138  Sometimes a short title can't be explici
Riadok 138  Sometimes a short title can't be explici
 provide the user a large description on a given field when he is manipulating  provide the user a large description on a given field when he is manipulating
 with field data. For this purpose was  with field data. For this purpose was
 <varname>$opts['fdd']['col_name']['help']</> option created. Content of this  <varname>$opts['fdd']['col_name']['help']</> option created. Content of this
 option will appear in the third column of record display pages.  option will appear in the third column of record display pages (Add, View, Change,
   Copy and Delete modes).
   
 </para>  </para>
 <para>  <para>
Riadok 160  $opts['fdd']['topic']['help'] = 'Enter t
Riadok 161  $opts['fdd']['topic']['help'] = 'Enter t
 <bridgehead id="configuration.fields.select">Selection boxes</bridgehead>  <bridgehead id="configuration.fields.select">Selection boxes</bridgehead>
 <para>  <para>
   
 Specify field input type as text box, numeric comparsion text box, drop-down  Specify field input type as text box, numeric comparison text box, drop-down
 selection, or multiple selection. The same input type will be used also for  selection, or multiple selection. The same input type will be used also for
 table filtering.  table filtering.
   
Riadok 239  linkend="configuration.css" endterm="con
Riadok 240  linkend="configuration.css" endterm="con
 <bridgehead id="configuration.fields.sql">SQL expression</bridgehead>  <bridgehead id="configuration.fields.sql">SQL expression</bridgehead>
 <para>  <para>
   
 There is a possibility to define SQL expression that should be applied to  There is a possibility to define a SQL expression that should be applied to
 particular field when selecting data from database. This is very useful when  particular field when selecting data from database. This is very useful when
 you want to interpret field's content in different way than it is stored in  you want to interpret the field's content in different way than it is stored
 database. To be more clear, see following examples.  in database. To be more clear, see following examples.
   
 <example><title>SQL expressions</title>  <example><title>SQL expressions</title>
 <programlisting><![CDATA[  <programlisting><![CDATA[
Riadok 257  $opts['fdd']['title']['sql'] = 'IF(TRIM(
Riadok 258  $opts['fdd']['title']['sql'] = 'IF(TRIM(
 First example appends content of <varname>firstname</> field to  First example appends content of <varname>firstname</> field to
 <varname>surname</> field. Because this is done on the database level, sorting  <varname>surname</> field. Because this is done on the database level, sorting
 and searching (in table filtering page) on this field will properly work.  and searching (in table filtering page) on this field will properly work.
 Similary in the second example, the <varname>title2</> field will be used if  Similarly in the second example, the <varname>title2</> field will be used if
 <varname>title</> field is empty. Using this way you can define some special  <varname>title</> field is empty. In this manner you can define some special
 static string, which should be printed in case a field is empty. Just  static string, which should be printed in case a field is empty. Just
 substitute <varname>title2</> with some quoted string.  substitute a quoted string in place of <varname>title2</>.
   
 </para>  </para>
 </sect1>  </sect1>

Legend:
Odstranené z verzie1.26  
zmenené riadky
  Pridané vo verzii1.27

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