HI Friends,
Can any of you please let me know how to disble previously loaded
model ??
I am describing my doubt through an example below.
EX:
I Am using a controller ,
test_contoller(){
//here 2 functions am using
function student(){
$this->loadmodel('student');
}
function parent(){
$this->loadmodel('parent'); //loads the parent model
$this->loadmodel('relationship'); //loads the
relationship model
}
}
Once my execution picks up parent function that time , previously
loaded model "student" in student function should be disabled.
Thanks in advance.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en