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.57 and 1.58

version 1.57, 2006/01/24 15:49:19 version 1.58, 2006/09/04 13:42:49
Line 1 
Line 1 
 <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.56 2004/11/29 21:32:18 nepto Exp $ -->  <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.57 2006-01-24 15:49:19 nepto Exp $ -->
   
 <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 964  $opts['fdd']['col_name']['sqlw'] = 'IF(c
Line 964  $opts['fdd']['col_name']['sqlw'] = 'IF(c
 </example>  </example>
   
 </para>  </para>
   <title id="configuration.fields.php.title">PHP expressions</title>
   <para>
   PHP feature allows user to display any html code in place of a value. Behavior
   is the same as in triggers. If php is set, a file of that name is included
   (and executed). All variables avaliable in the core class are available in the
   php file.
   <example>
   <title>php execution file</title>
   <programlisting><![CDATA[
   <?php
   if($this->operation == $this->labels['Add']) return 'add mode selected';
   else return '<img source="tt.png"/>';
   ?>
   ]]></programlisting>
   </example>
   This option is indended for advanced usage. Together with pre and before
   triggers, it allows tweaking the core class without the need to hack it. To
   change input, use before triggers or sqlw option.
   </para>
 </sect1>  </sect1>
 <sect1 id="configuration.tabs-feature">  <sect1 id="configuration.tabs-feature">
 <title id="configuration.tabs-feature.title">TABs feature</title>  <title id="configuration.tabs-feature.title">TABs feature</title>

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

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