How to load the model ????
Posted
by rajesh
on Stack Overflow
See other posts from Stack Overflow
or by rajesh
Published on 2010-05-24T06:14:07Z
Indexed on
2010/05/24
6:21 UTC
Read the original article
Hit count: 352
How can i load model i have tried several times but do not get the ans my code is
<?php
class NotesController extends AppController {
var $name='Notes';
var $helpers = array('Html','Form','Ajax','Javascript');
var $uses = array('note');
var $components = array('ModelLoader');
function index(){
$this->ModelLoader->setController($this);
$result = $this->params['url']['obj'];
//print_r($result);
$ee=$this->ModelLoader->load('note');
$pass = $this->note->search($result);
© Stack Overflow or respective owner