Zend Framework: SetIntegrityCheck(false) and then update the object -


i getting data 2 tables using join , putting setintegritycheck(false) in model. need call save() on object. know when put setintegritycheck(false), cannot call save(), delete() or update() object. have seen this question, doesn't address answer.

so way around?

zf supports table data gateway , row data gateway pattern. afaik setintegritycheck() allow join tables within db_table_select build sql query. anyway can not hydrate custom sql results db_table_row objects - supports save(). have update each row separatly. more sofisticated approach have use data mapper pattern - doctrine.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -