But I don't know how to get all fspaths arrays.
If you can't help me, please point me to some docs.

Thank you, Alexandre.

2007/6/10, Pablo Viojo <[EMAIL PROTECTED]>:
>
> And that's what you're getting, no more data than you need.
>
>
> --
> Pablo Viojo
> [EMAIL PROTECTED]
> http://pviojo.net
>
> On 6/10/07, Alexandre Gonçalves Jacaranda <[EMAIL PROTECTED]> wrote:
> >
> > Thanks for your reply, but my problem is more complex:
> >  $this->set('signs' , $this->Sign->findAll( "Sign.movie_presentation_id= 
> > '$id
> > '", 'File.fspath'," Sign.time ASC",null ,null,1));
> >
> > my return is:
> >
> > Array ( [0] => Array ( [File] => Array ( [fspath] => img/jogo_43.jpeg )
> > ) [1] => Array ( [File] => Array ( [fspath] => img/jogo_49(1).jpeg ) ) [2]
> > => Array ( [File] => Array ( [fspath] => img/Slide22.GIF ) ) )
> >
> > I need to get only my fspath value.
> >
> > How can I do this ?
> >
> >
> > Em 10/06/2007, às 12:06, alan escreveu:
> >
> >
> > <?php
> > /**
> > * how to find your stuff...
> > */
> > $stuff = $this->Model->findAll($conditions,$fields,' Model.field DESC',
> > $limit,$page,$recursive);
> >
> > echo '<pre>';
> > print_r($stuff);
> > echo '</pre>';
> > exit;
> >
> > ?>
> >
> > if you don't see all you want to see... get friendly with the cake
> > associations and update your models.
> >
> > thanks,
> > -alan-
> >
> > On Jun 9, 11:02 am, Alexandre Gonçalves Jacaranda < [EMAIL PROTECTED]>
> > wrote:
> >
> > Sorry, I forgot to tell my associate model:
> >
> > User: hasmany Presentation;
> > Presentation: belongsto User, belongsto Type, hasone Movie;
> > File : hasmany Movie , hasmany Sign;
> > Type: hasmany Presentation;
> > Movie: belongsto File, belongsto Presentation, hasmany Sign, hasmany
> > Text;
> > Sign: belongsto File, belongsto Movie;
> > Text: belongsto Movie
> >
> > My associations is like
> >
> > File
> > / \
> > / \
> > User -> Presentation -> Movie -> Sign
> > / \
> > Type <-- --> Text
> >
> > Thanks for answer. I'm asking because I only can get what I need
> > doing an direct select on my database. I want to display a mini-
> > slideshow when user load an movie, changing
> > sign( gif or jpeg file) while seeing the movie.
> >
> > Em 09/06/2007, às 05:33, Dr. Tarique Sani escreveu:
> >
> >
> >
> >  On 6/9/07, Alexandre Gonçalves Jacaranda <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hello, everybody!!
> >
> >
> > I've a database model like this :
> >
> >
> >  files ( id, path, name);
> > signs ( id, file_id, time)
> >
> >
> >  Read uphttp://manual.cakephp.org/chapter/models- pay attention to
> > the associations section
> >
> >
> > 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