| verzia 1.19, 2003/03/30 21:44:42 |
verzia 1.20, 2003/03/31 18:31:54 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.18 2003/03/30 01:14:14 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.19 2003/03/30 21:44:42 nepto Exp $ --> |
| |
|
| <!-- Categories: |
<!-- Categories: |
| |
|
| Riadok 123 $opts['fdd']['topic']['name'] = 'Subject |
|
| Riadok 123 $opts['fdd']['topic']['name'] = 'Subject |
|
| |
|
| </para> |
</para> |
| |
|
| <!-- |
<bridgehead id="configuration.help">Guidance / Help</bridgehead> |
| <bridgehead id="configuration.type">Field type</bridgehead> |
|
| <para> |
<para> |
| |
|
| This <varname>$opts['fdd']['col_name']['type']</varname> is generated by |
Sometimes a short title can't be explicit enough, so it is neccessary to |
| <filename>phpMyEditSetup.php</filename> and indicates the MySQL field type (best |
provide the user a large description on a given field when he is manipulating |
| not edited). Type may appear as int, string, blob, etc., and should NOT be |
with field data. For this purpose was |
| changed. Type 'int' is most common as the unique identifier is most often an |
<varname>$opts['fdd']['col_name']['help']</> option created. Content of this |
| integer value. |
option will appear in the third column of record display pages. |
| |
|
| |
</para> |
| |
<para> |
| |
|
| |
This option is optional. If there is no <varname>['help']</> option for all |
| |
columns, the third "help" column will be completely omitted. |
| |
|
| |
</para> |
| |
<para> |
| |
|
| |
<example><title>Field guidance</title> |
| |
<programlisting><![CDATA[ |
| |
$opts['fdd']['topic']['help'] = 'Enter topic of article here.'; |
| |
]]></programlisting> |
| |
</example> |
| |
|
| </para> |
</para> |
| --> |
|
| |
|
| <bridgehead id="configuration.fields.select">Selection boxes</bridgehead> |
<bridgehead id="configuration.fields.select">Selection boxes</bridgehead> |
| <para> |
<para> |
| Riadok 194 $opts['fdd']['col_name']['options'] = 'R |
|
| Riadok 207 $opts['fdd']['col_name']['options'] = 'R |
|
| </example> |
</example> |
| |
|
| </para> |
</para> |
| |
|
| </sect1> |
</sect1> |
| |
|
| <sect1 id="configuration.booleans"> |
<sect1 id="configuration.booleans"> |
| Riadok 528 time using <ulink |
|
| Riadok 540 time using <ulink |
|
| url="http://www.php.net/manual/en/function.date.php"><function>date()</></> |
url="http://www.php.net/manual/en/function.date.php"><function>date()</></> |
| function or you can use <varname>['strftimemask']</> option to format date and |
function or you can use <varname>['strftimemask']</> option to format date and |
| time using <ulink |
time using <ulink |
| url="http://www.php.net/manual/en/function.date.php"><function>strftime()</></> |
url="http://www.php.net/manual/en/function.strftime.php"><function>strftime()</></> |
| function. See function's manual pages for valid formatting characters. |
function. See function's manual pages for valid formatting characters. |
| |
|
| </para> |
</para> |
| Riadok 650 $opts['fdd']['col_name']['URLprefix'] = |
|
| Riadok 662 $opts['fdd']['col_name']['URLprefix'] = |
|
| <para> |
<para> |
| |
|
| In the third example you can see that array of prefixes or postfixes are |
In the third example you can see that array of prefixes or postfixes are |
| supported. First memeber of array is added to URL value only if no element was |
supported. First member of array is added to URL value only if none from the |
| matched. This is especially useful in having intelligent URL links with added |
elements was matched. This is especially useful in having intelligent URL |
| ability to enter URLs like "www.platon.sk" without preceding "http://". |
links with added ability to enter addresses like "www.platon.sk" without |
| |
preceding "http://". |
| |
|
| </para> |
</para> |
| </sect1> |
</sect1> |