Re: [fw-general] Re: Zend_Entity Entity instantiation question

2009-09-11 Thread keith Pope
2009/9/11 Tom Graham : > What about an aggregate metadata factory implementation, so you could pass > it multiple metadata factory instances of varying types. > Reading the docs "There is currently a factory which does this, but it will probably be heavily rewritten, so this manual way has to suff

Re: [fw-general] Re: Zend_Entity Entity instantiation question

2009-09-11 Thread Tom Graham
What about an aggregate metadata factory implementation, so you could pass it multiple metadata factory instances of varying types. For example... class Zend_Entity_MetadataFactory_Aggregate implements Zend_Entity_MetadataFactory_Interface { protected $_metadataFactories = array(); protec

[fw-general] Re: Zend_Entity Entity instantiation question

2009-09-11 Thread keith Pope
2009/9/11 keith Pope : > Hi, > > I am just having a look at Zend_Entity, I was wondering how it handles > object/entity instantiation, having a look through the code the > Zend_Db_Mapper_Loader_LoaderAbstract has a createEntity() method which > instantiates the entity. Is it planned that we will be