i also wanted to do something similar ... to generate models from MySQL infomation_schema
http://www.nabble.com/Zend_CodeGenerator-arrays-as-property-to23694912.html#a23719003 http://www.nabble.com/Zend_CodeGenerator-arrays-as-property-to23694912.html#a23719003 the workaround posted there CocoRambo wrote: > > Hi all, > > I recently try to use Zend_CodeGenerator to generate all my DbTables > automatically. > All it's OK except for one thing! > > I have multiple key for a primary key and I can't define a > Zend_CodeGenerator_Php_Property which is an array?! > > What I want: > protected $_myProperty = array('val1', 'val2'); > > What I have: > protected $_myProperty = 'array('val1', 'val2')'; > > There is a solution ? > > Thanks > > -- View this message in context: http://www.nabble.com/Zend_CodeGenerator_Php_Property---Array-tp23922419p23923769.html Sent from the Zend Framework mailing list archive at Nabble.com.