Saturday, May 26, 2012

Re: Geocoding

I meant my Location Model, not Controller.

On Sat, May 26, 2012 at 9:22 AM, Michael Gaiser <mjgaiser@gmail.com> wrote:
> When is says:
>
> 2. Add the following to your model:
>
>    public $useDbConfig = 'geoNames';
>    public $useTable = false;
>
>
>
> Does that go in my Locations controller or do I make another controller?
> If it goes into my Locations Controller, will the line "public
> $useTable = false;" keep my model from accessing its DB table?
>
> Thanks.
>
> ~Michael
>
> On Sat, May 26, 2012 at 12:33 AM, Simon Males <sime@sime.net.au> wrote:
>> Data source for the GeoNames service:
>>
>> https://github.com/signified/CakePHP-GeoNames-DataSource

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: