Often projects require a set of specific data enums like countries,
provinces, different statuses for the database etc. I would like these
enums satisfy the following requirements:

1) Each enum must be an object
2) Each enum object must be iteratable and countable
3) Each enum item must be accessible as a public property of the object
4) Enums must be loaded from files
5) Enums must be cached
6) Enums must support I18N
7) Enums must be accessible in Views, Forms and Action Controllers

I would appreciate any suggestions regarding the best implementation
of the above using ZF.

Reply via email to