Chris Murray wrote:
> 
> So I need to be able to dynamically set the property list in Zend_Entity
> 

Another possible approach would be to create my own def object generator. I
already have my definitions in my model and they are used for other
purposes, such as form element configs, formatting, and display properties.
So, I could build the def object and pass it to
Zend_Entity_MetadataFactory_Code (rather than passing in a file path). That
way, I don't have to create multiple def files for each unique combination
of properties that are used in my application. Instead, just build the def
object dynamically based on already existing, multi-purpose object property
lists and their individual attributes.

Is that a better way to do it?
-- 
View this message in context: 
http://www.nabble.com/Zend_Entity%3A-Using-it-in-a-fully-model-driven-manner-tp25374495p25374989.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to