Posted By

sveggiani on 07/13/10


Tagged

cakephp


Versions (?)

Import a Model from another model in Cakephp 1.2 & 1.3


 / Published in: PHP
 

URL: http://api.cakephp.org/class/class-registry#method-ClassRegistryinit

  1. $person = ClassRegistry::init('Person');;
  2. $people = $person->find('all'); pr( $people );

Report this snippet  

You need to login to post a comment.