Friday, April 1, 2011

adding object belong to another object

HI
I have this situation where admin can add some object(let's it id
notification ) belong to a user let the method in controller look like
this

I backed every thing models controller views

function admin_add($user_id=null){

//code for adding notification


}

who can i pass user_id to add form
I am new to cakephp and did not figure how to do this

Regards

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: