Request是zend framework中很重要的一个对象。 getParam 可以取得客户传来的参数,取数据的顺序为 1. GET 2. POST 3. COOKIE 4. SERVER 5. ENV
Archives for April 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’ => [...]
ubuntu声卡的问题
前几天突然间在看video和听音乐的时候,video和音乐都放的很快,像快进一样。最后发现是声卡驱动的问题。修改了声卡里面输出的设置就好了