Beispiel #1
0
 public function formAction()
 {
     $table = new Zend_Db_Table();
     $table->setOptions(array('name' => 'test'));
     $table->setMetadataCacheInClass(true);
     $data = array('listorder' => '11');
     $table->insert($data);
     Zend_Debug::dump($table);
     die;
 }
Beispiel #2
0
 protected function _init()
 {
     $table = new Zend_Db_Table();
     $table->setOptions(array('name' => $this->_model->key));
     $this->_table = $table;
 }