http://book.cakephp.org/view/1017/Retrieving-Your-Data

 <http://book.cakephp.org/view/1017/Retrieving-Your-Data>
--
Tilen Majerle
http://majerle.eu



2010/10/25 Briko03 <[email protected]>

> I have a controller that does a find all to get all the results from
> our database:
>
> <?php class ResultsController extends AppController {
>    var $name = 'Results';
>        function index()        {
> $this->set('results',$this->Result->find('all'));
> $this->set('results', $this->paginate('Result')); }}
>
>
>
> I want to build a function that can get parameter(s) from the url to
> build the query instead of returning 'all'....
> Can anyone help me with this?
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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