findAll is a model function, so you can find it in the manual under
models, or you can find it in the api under models. Don't feel bad if
you have trouble finding things at first - we all do. As long as you
make an honest effort to find things first, you'll find that the cake
community is really
... but i guess i was likely searching for the WRONG vocabulary ...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from
$this->set('posts', $this->Post->findAll(null,null,'id DESC'));
that worked beautifully, thanks!
where might i have found this topic in the documentation? i spent
quite a bit of time searching before i posted here .. .but i guess i
was likely searching for the vocabulary ... i mostly looked for
Welcome to the world of Cake :) You have no idea how good your choice
of framework was given the multitude of choices out there...
I haven't tested this but it'll be something along the lines of:
$this->set('posts', $this->Post->findAll(null,null,'id DESC'));
also play around with options su
Hi, i'm new to PHP and to Cake, definitely a newbie.
I just went thru the Simple Blog tutorial and successfully created the
app. Great.
Now i'm trying to customize it and i'd like to change the sorting
order, it seems to display by ID ... starting with 1, followed by 2,
etc.
How do i reverse th