OKay thanks. Keep helping me - almost there.
I now have /app/models/behaviours/webservice.php
Can I put the following code (to follow the example) in any view?
$actsAs = array('webservice');
$this->Model->request('get', array('data' => array('q' => 'mark
story'), 'url' => 'www.google.ca/search'));
Do I have to change the word "Model"? or anything else.
This gives me the error: Fatal error: Call to undefined method
View::request()
Thanks - sorry I'm slow at this one...
Dave
On Jul 18, 12:35 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On Fri, Jul 18, 2008 at 9:37 AM, Dave <[EMAIL PROTECTED]> wrote:
>
> > Where do I put the webservice behavior php file?
>
> /app/models/behaviours
>
> HTH
>
> Tarique
>
> --
> =============================================================
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =============================================================
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---