Test

Php code posted
created at 03 Jan 14:53, updated at 17 Jan 18:25

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
// Русский текст
class MyController extends AppController {
  
  public function <a href="my_action">my_action</a>() {
    
    // This finds all entries in the MyModel model
    $all = $this->m('MyModel')->find('all');
    
    // This finds a single entry in the NewModel model
    $this->m('NewModel')->find('first');
  }
}
322 Bytes in 4 ms with coderay