| [ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 90 lignes (2 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 1 fois |
| Nécessite: | 0 fichiers |
CustomFieldDateValue:: (5 méthodes):
CustomFieldDateValue()
getDateObject()
setValue()
getDateFormatted()
getDefaultValue()
Classe: CustomFieldDateValue - X-Ref
offers methods for dealing with custom fields that represent dates| CustomFieldDateValue( $fieldId, $fieldValue, $articleId, $blogId, $id = -1 ) X-Ref |
| constructor |
| getDateObject() X-Ref |
| returns a Timestamp object based on what we have in the field. If the string in the field does not represent a valid date, we might get unexpected results... return: a Timestamp object |
| setValue( $value ) X-Ref |
| formats the date accordingly param: value |
| getDateFormatted() X-Ref |
| shortuct for formatting the date in the same way that it is expected by the "date picker" javascript calendar @return a string |
| getDefaultValue() X-Ref |
| returns the current date param: a default value |
| Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
|