You may want to try:

http://github.com/mariano/geocode

Includes stuff like: $this->Address->find('near', array('distance' => 5));

AD7six wrote:
>
> On 2 oct, 01:16, Andras Kende <[email protected]> wrote:
>   
>> Basically just overwrite paginate function, something like:
>>
>> http://book.cakephp.org/view/249/Custom-Query-Pagination
>>     
>
> Why is that thought to be necessary. paginate and find all have
> slightly different usage but the same paramters.
>
> $params = array( of, stuff );
> $results = $this->Model->find('all', $params);
> $pResults = $this->paginate();
>
> /*
> or
> $pResults = $this->paginate('Model');
> or
> $pResults = $this->paginate($conditions);
> or
> $pResults = $this->paginate('Model', $conditions);
> */
>
> Kyle Decot Please update the docs to clarify this.
>
> Cheers,
>
> AD
> >
>
>   


-- 
-MI
*Coding Ninja* @ CRICAVA Technologies <http://www.cricava.com>
 
*Blog*:         http://www.marianoiglesias.com.ar
*Twitter*:      http://twitter.com/mgiglesias
*LinkedIn*:     http://www.linkedin.com/pub/2/483/B94
*Facebook*:     http://www.facebook.com/mariano.iglesias


--~--~---------~--~----~------------~-------~--~----~
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