/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$person = ClassRegistry::init('Person');; $people = $person->find('all'); pr( $people );
URL: http://api.cakephp.org/class/class-registry#method-ClassRegistryinit