tarique actually the tasks are only a descriptive name. a review would
be something like this

Review

feedback on attendance (task 1) -> _____________

feedback on marks (task 2) -> _____________

so the task 1, task 2 etc would be a representation of the fields in a
review record. If a field has been filled in that means that the task
has been completed. So basically i think i would have to do a sort of
list of all reviews but instead of having cake show the actual
contents of each field, it will show Pending if the field is null or
Complete if there is some data in it.

On Aug 2, 11:46 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 8/2/07, rtanz <[EMAIL PROTECTED]> wrote:
>
>
>
> >                  Task 1    Task 2    Task 3
> > Review 1    Done      Pending  Done
> > Review 2    Pending  Pending  Pending
>
> presuming review hasMany tasks
>
> Do a findall on reviews
>
> Set the result in the view
>
> Now in your view you will have to have  nested loops
>
> The outer one for reviews and the inner one for task
>
> I am also presuming that you will be able to figure out what html would the
> outer and inner loops enclose other than the data....
>
> HTH
>
> Tarique
>
> --
> =============================================================
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =============================================================


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to