| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 168 lignes (4 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
TstampTask:: (4 méthodes):
setPrefix()
addFormat()
main()
prefixProperty()
TstampCustomFormat:: (4 méthodes):
setProperty()
setPattern()
setLocale()
execute()
Classe: TstampTask - X-Ref
Sets properties to the current time, or offsets from the current time.| setPrefix($prefix) X-Ref |
| Set a prefix for the properties. If the prefix does not end with a "." one is automatically added. param: prefix the prefix to use. |
| addFormat(TstampCustomFormat $cf) X-Ref |
| Adds a custom format param: TstampCustomFormat custom format |
| main() X-Ref |
| Create the timestamps. Custom ones are done before the standard ones. |
| prefixProperty($name, $value) X-Ref |
| helper that encapsulates prefix logic and property setting policy (i.e. we use setNewProperty instead of setProperty). |
Classe: TstampCustomFormat - X-Ref
| setProperty($propertyName) X-Ref |
| The property to receive the date/time string in the given pattern param: propertyName the name of the property. |
| setPattern($pattern) X-Ref |
| The date/time pattern to be used. The values are as defined by the PHP strftime() function. param: pattern |
| setLocale($locale) X-Ref |
| The locale used to create date/time string. param: locale |
| execute(TstampTask $tstamp) X-Ref |
| validate parameter and execute the format. param: TstampTask reference to task |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |