MINOR Fixed documentation for DatetimeField

This commit is contained in:
Ingo Schommer 2011-03-30 08:39:35 +13:00
parent 59230d8e39
commit eda75a2aa9

View File

@ -8,7 +8,15 @@
*
* # Configuration
*
* All options in {@link setConfig()} are passed through to {@link DateField} and {@link TimeField}.
* The {@link setConfig()} method is only used to configure common properties of this field.
* To configure the {@link DateField} and {@link TimeField} instances contained within, use their own {@link setConfig()} methods.
*
* Example:
* <code>
* $field = new DatetimeField('Name', 'Label');
* $field->setConfig('datavalueformat', 'YYYY-MM-dd HH:mm'); // global setting
* $field->getDateField()->setConfig('showcalendar', 1); // field-specific setting
* </code>
*
* @package sapphire
* @subpackage forms