|
How to make a property label different from the property name |
The names of classes and types are limited by php's class name limitations. Sometimes users will find the names that are logical for the programmers strange and unnecessarily complicated. Or the user may use a different language from the one used for building the software. Having separate 'labels' to present classes and types to the user solves this. They are set on the by its 'setLabel' method. Easiest place to do that is at the bottom of the class file, after the class definition. |
|