The addProduct() method in Listing 9 accepts a new product record as an array of key-value pairs and then uses the Zend_Db object's insert() method to write this record to the database table.
清单9中的 addProduct() 函数接收一个新产品记录作为键-值对数组,然后使用 Zend_Db对象的insert() 函数将记录写入到数据库表中。
The addProduct() method in Listing 9 accepts a new product record as an array of key-value pairs and then uses the Zend_Db object's insert() method to write this record to the database table.
清单9中的 addProduct() 函数接收一个新产品记录作为键-值对数组,然后使用 Zend_Db对象的insert() 函数将记录写入到数据库表中。
应用推荐