|
|||
|
hi guys how do i delete , update or insert
from the joined tabled (model) this way for example is there a way to fetch some data form joined table and delete ot update that with obj->save() thanks for you time and help class Blog extends Zend_Db_Table_Abstract { protected $_name = 'blog_posts'; protected $_dependentTables = array('Blog_Category'); } class Blog_Category extends Zend_Db_Table_Abstract { protected $_name = 'blog_category'; protected $_referenceMap = array( 'Blog' => array( 'columns' => array('term_id'), 'refTableClass' => 'Blog', 'refColumns' => array('post_category') ) ); } |
![]() |
| Thread Tools | |
| Display Modes | |
|
|