ERXLocalizedString Class Reference

Inherits er::extensions::components::ERXStatelessComponent.

Collaboration diagram for ERXLocalizedString:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXLocalizedString (WOContext context)
Object object ()
String value ()

Private Member Functions

String objectToString (Object value)


Detailed Description

Examples: 1) value = "Localize me" -> the localized value of "Localize me" 2) keyPath = "componentName" (note that the path must be a String) -> localized name of the parent component 3) object = bug, an EO -> localized version of bug.userPresentableDescription (may or may not be useful) 4) object = bug, keyPath = "state" -> localized version of the bugs state 5) templateString = "You have @assignedBugs.count@ Bug(s) assigned to you", object = session.user -> localized template is evaluated

Bindings:

object the object to derive the value of, if not given and keyPath is set, parent() is assumed keyPath the keyPath to get of the object which is to be localized value string to localize templateString the key to the template to evaluate with object and otherObject otherObject second object to use with templateString


Constructor & Destructor Documentation

ERXLocalizedString ( WOContext  context  ) 


Member Function Documentation

Object object (  ) 

String objectToString ( Object  value  )  [private]

String value (  ) 


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:16 2012 for Project Wonder by  doxygen 1.5.8