-
Custom Doctrine_Record constructor.
Used to initialize I18n to make sure the culture is set from symfony
-
(string) getDefaultCulture ()
Browse code
Return the default culture
returns the default culture
-
(mixed) getPrimaryKey ()
Browse code
Get the primary key of a Doctrine_Record.
This a proxy method to Doctrine_Record::identifier() for Propel BC
returns Array for composite primary keys and string for single primary key
-
Initialize I18n culture from symfony sfUser instance Add event listener to
change default culture whenever the user changes culture
-
Function require by symfony >= 1.2 admin generators
-
listenToChangeCultureEvent ($event)
Browse code
| $event |
An sfEvent instance
|
Listens to the user.change_culture event.
-
setDefaultCulture ($culture)
Browse code
Sets the default culture
-
__call ($method, $arguments)
Browse code
-
(string) __toString ()
Browse code
Returns a string representation of the record.
returns A string representation of the record.