| Category | CakePHP functions - read -- a model function |
| Code Examples | In controller, read from model: $this->set('post', $this->Post->read(null, $id)); a model function, read(), which looks up the record that corresponds to the ID supplied by the user and pulls its data. In short, the read() function reads the contents of a particular record. It differs from find() in that it does not include the recursive parameter. |
| Test Code | |
| Links | |
| Remarks | |
| Cancel |