ãCakePHP 1.3.2ã CakePHPã®ããã©ã«ãã®ç¶æ ã§ãã©ãã¾ã§ã»ãã¥ãªãã£å¯¾çã æ½ããã¦ããã®ããå®é¨ãã¾ãã ãå®é¨æ¹æ³ããããã°ã"2"ã«è¨å®ããäºæ³ãããæ»æã«ãã£ã¦ã©ã®ãã㪠SQLãçæãããã®ãã確èªãã¾ãã ã/app/config/core.phpã Configure::write('debug', 2); 1. SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ ãå®é¨ç°å¢ãä¸è¨ã®3ã¤ã®ã¡ã½ããã«ã¤ãã¦ãCakePHPã®å¯¾å¿ãè¦ã¦ã¿ã¾ãã read() find() findById() ãã³ã³ããã¼ã©ã function view($id){ //ã1ã $this->data = $this->User->read(null, $id); //ã2ã $this->data = $this->User->find('first', array('conditions'=>arr
{{#tags}}- {{label}}
{{/tags}}