| version 1.42, 2004/01/20 11:04:43 |
version 1.43, 2004/01/21 16:26:56 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.41 2004/01/20 11:02:59 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.42 2004/01/20 11:04:43 nepto Exp $ --> |
| |
|
| <!-- Categories: |
<!-- Categories: |
| |
|
| Line 182 $opts['fdd']['col_name']['select'] = 'M' |
|
| Line 182 $opts['fdd']['col_name']['select'] = 'M' |
|
| An optional parameter to control whether a field is displayed in the add, |
An optional parameter to control whether a field is displayed in the add, |
| change, copy, delete, view, list, or filter views. |
change, copy, delete, view, list, or filter views. |
| |
|
| <simplelist type=horiz columns=2> |
<simplelist type="horiz" columns="2"> |
| <member> <constant>A</constant></><member> -- add</> |
<member> <constant>A</constant></><member> -- add</> |
| <member> <constant>C</constant></><member> -- change</> |
<member> <constant>C</constant></><member> -- change</> |
| <member> <constant>P</constant></><member> -- copy</> |
<member> <constant>P</constant></><member> -- copy</> |
| Line 195 change, copy, delete, view, list, or fil |
|
| Line 195 change, copy, delete, view, list, or fil |
|
| </para> |
</para> |
| <para> |
<para> |
| |
|
| |
<example><title>Field display options</title> |
| |
<programlisting><![CDATA[ |
| |
$opts['fdd']['col_name']['options'] = 'LF'; // shows only in table list/filter |
| |
]]></programlisting> |
| |
</example> |
| |
|
| |
</para> |
| |
|
| |
<bridgehead id="configuration.input">Input settings</bridgehead> |
| |
<para> |
| |
|
| There are also additional column-specific options. These apply to certain |
There are also additional column-specific options. These apply to certain |
| views or modes (add, change, delete, list). So you have to define also |
views or modes (add, change, delete, list). In the previous versions of &name; |
| particular standard display options (described above). If additional |
these flags was part of <varname>['options']</varname> option. In the current |
| column-specific options flag is standing alone without any standard display |
&version; version, the backward compatibility (BC) is preserved. However this |
| option, it has basically no effect. |
will be removed in the future. Thus specify these flags as a part of |
| |
<varname>['input']</varname> options. Some other flags may be added into this |
| |
option as well. |
| |
|
| <simplelist type=horiz columns=2> |
<simplelist type="horiz" columns="2"> |
| <member> <constant>R</constant></><member> -- indicates a field is read only</> |
<member> <constant>R</constant></><member> -- indicates a field is read only</> |
| <member> <constant>W</constant></><member> -- indicates a field is a password field</> |
<member> <constant>W</constant></><member> -- indicates a field is a password field</> |
| <member> <constant>H</constant></><member> -- indicates a field is to be hidden and marked as hidden</> |
<member> <constant>H</constant></><member> -- indicates a field is to be hidden and marked as hidden</> |
| Line 212 option, it has basically no effect. |
|
| Line 225 option, it has basically no effect. |
|
| |
|
| <example><title>Other display options</title> |
<example><title>Other display options</title> |
| <programlisting><![CDATA[ |
<programlisting><![CDATA[ |
| $opts['fdd']['col_name']['options'] = 'HACPVDLF'; // hidden field |
$opts['fdd']['col_name']['input'] = 'H'; // hidden field |
| $opts['fdd']['col_name']['options'] = 'PACPVDLF'; // password field |
$opts['fdd']['col_name']['input'] = 'P'; // password field |
| $opts['fdd']['col_name']['options'] = 'RACPVDLF'; // read-only field |
$opts['fdd']['col_name']['input'] = 'R'; // read-only field |
| ]]></programlisting> |
]]></programlisting> |
| </example> |
</example> |
| |
|