Re: newbie syntax question

2008-09-12 Thread .
basically the problem is in the examples I've seen on nusoap server, they are not in a Class. I'd like to put it into a class. How would I do this? On Fri, Sep 12, 2008 at 1:44 AM, . <[EMAIL PROTECTED]> wrote: > This is the error i get: > > SOAP-ENV:Clientmethod '' not defined in service] > >

Re: newbie syntax question

2008-09-12 Thread .
This is the error i get: SOAP-ENV:Clientmethod '' not defined in service] On Fri, Sep 12, 2008 at 1:27 AM, . <[EMAIL PROTECTED]> wrote: > Hi > > I am trying to convert the Remote Service (helloworld-server.php) in the > following tutorial (in the URL below) to cakephp Component-compatible. I am

newbie syntax question

2008-09-12 Thread .
Hi I am trying to convert the Remote Service (helloworld-server.php) in the following tutorial (in the URL below) to cakephp Component-compatible. I am struggling with the correct syntax, however. In the server->register(..) method, the first parameter should be the name of the service function. I

Re: newbie syntax question for cake 1.2 RC1

2008-06-06 Thread .
thanks what about Not Equals I don't think <> works anymore. What is it replaced by? On Fri, Jun 6, 2008 at 2:57 AM, grigri <[EMAIL PROTECTED]> wrote: > > $this->Category->find('all', array( > 'conditions' => array( >'name LIKE' => '%'.$parent.'%', >'parent_id' => null > ) > )); > > O

Re: newbie syntax question for cake 1.2 RC1

2008-06-06 Thread grigri
$this->Category->find('all', array( 'conditions' => array( 'name LIKE' => '%'.$parent.'%', 'parent_id' => null ) )); On Jun 6, 10:26 am, . <[EMAIL PROTECTED]> wrote: > Hi > > I just switched from cake 1.2.6311 to cake 1.2.7125 (RC1) > > what is the new syntax for this command? > > $th

Re: newbie syntax question for cake 1.2 RC1

2008-06-06 Thread leo
Not aware that the syntax has changed. It would break a lot of apps if it had. I would do a plain vanilla findAll in that situation - I don't thing you can pass any more than a value to findBy and it would only return the first record anyway. On 6 Juny, 11:26, . <[EMAIL PROTECTED]> wrote: > Hi >

newbie syntax question for cake 1.2 RC1

2008-06-06 Thread .
Hi I just switched from cake 1.2.6311 to cake 1.2.7125 (RC1) what is the new syntax for this command? $this->Category->findByName(array('name' =>'LIKE %'.$parent.'%', 'parent_id'=>null)); I want to find all categories where the name is like %parent% and the parent_id is null Thanks --~--~

Re: newbie syntax question

2008-01-24 Thread grigri
Both of these are php questions rather than cakephp... The period is the php string concatenation operator - $var = 'con'.'cat'.'e'.'nation'; is the same as $var = 'concatenation'; date and strtotime are base php functions. strtotime("-2 weeks") returns a unix timestamp representing 2 weeks befo

newbie syntax question

2008-01-24 Thread bob
what does this mean "Post.created" => "> " . date('Y-m-d', strtotime("-2 weeks") the date is greater that 2 weeks ago? what does the period . mean in this case? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake