>From what I understand you would use the vendor code within the action of a
controller

eg

if you have a articles to deal with

vendor('funkyStuff');
$arts = $this->Article->findAll(array('Article.id' => $id));

- S

On 15/03/07, E. F. <[EMAIL PROTECTED]> wrote:
>
>
> I have a nice little vendor package that locates places within a
> radius of a zipcode among other things. But currently it needs to run
> a query against a zipcode table in my database. I was wondering if
> anyone knows how I could access  the model so that I could run a
> query?
> I know that I can modify my code so that it will return a query
> instead of an array that could be ran by the controller but I would
> really like to leave it to the vendor if possible.
>
> Any help would be appreciated.
>
>
> >
>

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