modelから他のmodelの呼び出し cakephp2
public function __construct() { parent::__construct(); App::import('model', 'hoge'); $this->Hoge = new hoge(); }
public function __construct() { parent::__construct(); App::import('model', 'hoge'); $this->Hoge = new hoge(); }