views:

167

answers:

1

Couldn't find anything related to the subject in Zend Framework API. What is the best way to implement Postgres array based property into Zend Model Class?

I know one can parse array from "{ smth1, smth2 }" like string, but I still hope that there is more unattended approach in Zend case.

Thanks.

+2  A: 

I would be surprised if this is ever supported natively in ZF -- it has never been supported in PHP that I know of. But in your model class you could create a method to parse the postgres data to and from an array.

bogeymin