-
Initializes internationalization.
-
(DateTime) getDateTimeObject ($dateFieldName)
Browse code
| $dateFieldName |
The field name to get the DateTime object for |
Get the Doctrine date value as a PHP DateTime object
returns $dateTime The instance of PHPs DateTime
-
(string) getDefaultCulture ()
Browse code
Return the default culture
returns the default culture
-
(mixed) getPrimaryKey ()
Browse code
Returns the current record's primary key.
This a proxy method to {@link Doctrine_Record::identifier()} for
compatibility with a Propel-style API.
returns The value of the current model's last identifier column
-
Function require by symfony >= 1.2 admin generators.
-
listenToChangeCultureEvent ()
Browse code
Listens to the user.change_culture event.
-
(void) setDateTimeObject ($dateFieldName, $dateTimeObject)
Browse code
| $dateFieldName |
The field name to set the date for |
| $dateTimeObject |
The DateTime instance to use to set the value |
Set the Doctrine date value by passing a valid PHP DateTime object instance
-
setDefaultCulture ($culture)
Browse code
Sets the default culture
-
(mixed) __call ($method, $arguments)
Browse code
| $method |
The method name |
| $arguments |
The method arguments |
Provides getter and setter methods.
returns The returned value of the called method
-
(string) __toString ()
Browse code
Returns a string representation of the record.
returns A string representation of the record