Request是zend framework中很重要的一个对象。 getParam 可以取得客户传来的参数,取数据的顺序为 1. GET 2. POST 3. COOKIE 4. SERVER 5. ENV
Archives for April 13, 2010
exception in zend_db_table
I just met the following exception, when i was trying to implement a model: Message: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound It is because the refcolumns doesn’t exists ( i made this by a typo) , see the following code: protected $_referenceMap = array ( ‘Institute’ => array( ‘columns’ => array(“exchange_institution_id”), ‘refTableClass’ => [...]