Thursday, August 9, 2012

Re: Recursive Retrieval of Data.

book.cakephp.org => Models => Retrieving your data...
--
Lep pozdrav, Tilen Majerle



2012/8/9 mohit kumar <mohitkr05@gmail.com>
Is it possible to retrieve data recursively for related models.
For example,
I have a table with Roster, which has Shifts and each shift has several users. I want to display

Roster

--Shift1
---- User1
---- User2
----
---- UserN

----Shift2
---- User1
---- User2
----
---- UserN

and so on.

How can we do that? Thanks for help in advance,

With Best Regards,
Mohit Kumar

+91-9582894570

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

No comments: