Re: CakePHP 3.0 location for API-Access

2016-02-21 Thread Anthony GRASSIOT
Didn't use it personnaly but I know that this exists:

  

  

  

You might want to have a look at it.

  

Regards

Anto

  

> On Feb 21 2016, at 5:33 pm, euromark dereurom...@gmail.com wrote:  

>

> Take a look at twitter, and how they did it:

>

> https://github.com/cvo-technologies/cakephp-twitter

>

>  

>

>  
Am Sonntag, 21. Februar 2016 15:06:29 UTC+1 schrieb web tools:

>

>> Hello,

>>

>>  

>>

>> I would like to use the API of OpenWeatherMap
() in my CakePHP 3.x Application, but I am not
sure where to put my API-Calls like "**getWeatherByCityname()**" in, because
'**Table**', '**Entity**' and '**Behaviour**' only belongs to relational
Databases.

>>

>>  

>>

>> Is there a best practice?

>>

>>  

>>

>> Thanks!

>>

>> cls

>>

>>  

>>

>>  

>

> \--  
We will soon be closing this Google Group. But don't worry, we have something
better coming. Stay tuned for an updated from the CakePHP Team soon.  
  
Like Us on FaceBook   
Follow us on Twitter   
\---  
You received this message because you are subscribed to the Google Groups
"CakePHP" group.  
To unsubscribe from this group and stop receiving emails from it, send an
email to [cake-php+unsubscr...@googlegroups.com](mailto:cake-
php+unsubscr...@googlegroups.com).  
For more options, visit .  

-- 
We will soon be closing this Google Group. But don't worry, we have something 
better coming. Stay tuned for an updated from the CakePHP Team soon.

Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I get Cake 3.1 to reply to an AJAX request without requiring a layout .ctp file?

2015-10-14 Thread Anthony GRASSIOT
Did you correctly specify the data type json in your ajax call ?
Le 14 oct. 2015 09:02, "heavyKevy"  a écrit :

> I have gone through the documentation, which is a bit too vague, and tried
> many things, but I still am getting an error that the template file is
> missing.
>
> I had this working sending back a json response in 3.0 using ext='json',
> yet after updating to 3.1 it is broken.
>
> I checked the migration guide and tried changing ext  to _ext, setting up
> the Routes with:
> Router::extensions(['json']);
>
> in the controller method I am using the _serialize key which is supposed
> to render without the template:
> $this->set('_serialize', ['salesPeople']);
>
> The JsonView class does not appear to be loading and I don't see in the
> documentation where I am supposed to set it.
> The documentation says ' you can automatically leverage the new view
> classes' By enabling RequestHandlerComponent in your application, and
> enabling support for the json and or xml extensions, but I have enabled
> it in the Initialize method of the controller and enabled the 'json'
> extension as mentioned earlier and it is still not working.
>
> Here is the method in question:
> public function getSalesPeopleSelectList() {
> $this->request->accepts('json'); // No direct access via browser
> URL
> $dealerId = $this->request->params['pass'][0];
> $this->RequestHandler->renderAs($this, 'ajax');
> //$this->viewClass = 'Json';
> $this->loadModel('SalesPeople');
> $salesPeople =
> $this->Purchases->SalesPeople->find('list')->where(['is_active'=>'1','user_id'=>$dealerId]);
> //for salespeople options for autocomplete
> $this->set(compact('salesPeople'));
> $this->set('_serialize', ['salesPeople']);
> }
>
>
> When I enable the _ext = json I get the following error:
>
> 2015-10-14 06:57:36 Error:
> [Cake\Controller\Exception\MissingActionException] Action
> PurchasesController::getSalesPeopleSelectList.json() could not be found, or
> is not accessible.
> Exception Attributes: array (
>   'controller' => 'PurchasesController',
>   'action' => 'getSalesPeopleSelectList.json',
>   'prefix' => '',
>   'plugin' => NULL,
> )
> Request URL: /Subaru/purchases/get-sales-people-select-list.json/47
> Stack Trace:
> #0
> C:\WebServer\cake\subaru\vendor\cakephp\cakephp\src\Routing\Dispatcher.php(114):
> Cake\Controller\Controller->invokeAction()
> #1
> C:\WebServer\cake\subaru\vendor\cakephp\cakephp\src\Routing\Dispatcher.php(87):
> Cake\Routing\Dispatcher->_invoke(Object(App\Controller\PurchasesController))
> #2 C:\WebServer\webdocs\Subaru\index.php(42):
> Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request),
> Object(Cake\Network\Response))
> #3 {main}
>
> What have I missed?
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: htacess to demo folder with new cakephp3 app

2015-09-03 Thread Anthony GRASSIOT
RewriteBase /demo/
Le 3 sept. 2015 21:26, "Salines"  a écrit :

> Hello,
> can somebody help me,
>
> I have a CakePHP 2.x web application located on the server in the
> public_html folder. Now I need to upgrade the app to CakePHP version 3,
> including a new design, but the client requires installing the demo
> applications on the live server, in addition to current.
>
> I create demo folder in the public_html folder and upload the new
> application. Now I need to provide access to domainname.com/demo and
> access the new application. At the same time the old applications should
> work without problems.
>
> I know that I need to put something in htacces file, but I do not know
> what.
>
> Thank you.
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: htacess to demo folder with new cakephp3 app

2015-09-03 Thread Anthony GRASSIOT
No, I don't think you do need to update your 2.x htaccess, I have several
application with this exact setup on share hosting but, you might have a
different case...
Le 3 sept. 2015 21:54, "Salines"  a écrit :

> I need to update first .htacess ind the cakephp 2 to skip rewrite rules if
> user type mydomainname.com/demo/, not to change RewriteBase
>
> 
>RewriteEngine on
>RewriteRule^$ app/webroot/[L]
>RewriteRule(.*) app/webroot/$1 [L]
> 
>
> current (cakephp 2) app
>
> .htacess
> index.php
> /app
> /lib
> /plugins
> /vendors
> /demo    for new cakephp 3 app
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: htacess to demo folder with new cakephp3 app

2015-09-03 Thread Anthony GRASSIOT
also remember that there are 2 htaccess to update...
Le 3 sept. 2015 22:03, "Anthony GRASSIOT" <antograss...@gmail.com> a écrit :

> No, I don't think you do need to update your 2.x htaccess, I have several
> application with this exact setup on share hosting but, you might have a
> different case...
> Le 3 sept. 2015 21:54, "Salines" <nikola.parad...@gmail.com> a écrit :
>
>> I need to update first .htacess ind the cakephp 2 to skip rewrite rules
>> if user type mydomainname.com/demo/, not to change RewriteBase
>>
>> 
>>RewriteEngine on
>>RewriteRule^$ app/webroot/[L]
>>RewriteRule(.*) app/webroot/$1 [L]
>> 
>>
>> current (cakephp 2) app
>>
>> .htacess
>> index.php
>> /app
>> /lib
>> /plugins
>> /vendors
>> /demo   <<<< for new cakephp 3 app
>>
>> --
>> Like Us on FaceBook https://www.facebook.com/CakePHP
>> Find us on Twitter http://twitter.com/CakePHP
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CakePHP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cake-php+unsubscr...@googlegroups.com.
>> To post to this group, send email to cake-php@googlegroups.com.
>> Visit this group at http://groups.google.com/group/cake-php.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Compare 2 date in cake3

2015-09-02 Thread Anthony GRASSIOT
Could you show your controller finction ?
these validation are used when using newEntity() or patchEntities'), not
save().

2015-09-02 10:15 GMT+02:00 Chetan Varshney <chetanvarsh...@gmail.com>:

> my solution did not work for you?
>
> On Wed, Sep 2, 2015 at 1:43 PM, lorenzoshake <ferri.lore...@gmail.com>
> wrote:
>
>>
>>
>> Il giorno mercoledì 2 settembre 2015 02:24:34 UTC+2, Anthony GRASSIOT ha
>> scritto:
>>>
>>> 'custom',['rule' =>  [$this, 'checkDate']]
>>>
>>> this doesn't seems to be a correct syntax... Why don't you use one of
>>> the proposed solution ?
>>>
>>> $value->gte raise errors ( is a query method); the strange think is that:
>>>
>>> ->add('end_date', [
>> 'valid'=> ['rule' => 'date'] ,
>> 'compare' => [
>> 'rule' => function ($value, $context) {
>> $date_end = Time::createFromFormat('d/m/Y',$value);
>> $date_start =
>> Time::createFromFormat('d/m/Y',$context['data']['start_date']);
>>
>>// return ($date_start < $date_end);
>> let's test!
>> return false;
>> }
>> ]
>>  ]
>>
>> );
>>
>> as  you can see i return always false ( just for testing) but the rule
>> doesn't work :(
>>
>> --
>> Like Us on FaceBook https://www.facebook.com/CakePHP
>> Find us on Twitter http://twitter.com/CakePHP
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CakePHP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cake-php+unsubscr...@googlegroups.com.
>> To post to this group, send email to cake-php@googlegroups.com.
>> Visit this group at http://groups.google.com/group/cake-php.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Chetan Varshney
> Ektanjali Softwares Pvt Ltd
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Compare 2 date in cake3

2015-09-02 Thread Anthony GRASSIOT
That what I thought. Validation is not applied if you set the value
directly with a setter like you does. You need to use patchEntity().

Le 2 sept. 2015 10:29, "lorenzoshake" <ferri.lore...@gmail.com> a écrit :
>
>
>
> Il giorno mercoledì 2 settembre 2015 10:20:53 UTC+2, Anthony GRASSIOT ha
scritto:
>>
>> Could you show your controller finction ?
>> these validation are used when using newEntity() or patchEntities'), not
save().
>>
>
> the other validation condition works fine ; here the method:
>
> public function validationDefault(Validator $validator)
> {
> $validator
> ->add('id', 'valid', ['rule' => 'numeric'])
> ->allowEmpty('id', 'create')
> ->add('social_user_id', 'valid', ['rule' => 'numeric'])
> ->allowEmpty('social_user_id')
> ->allowEmpty('name')
> ->allowEmpty('address')
> ->allowEmpty('city')
> ->add('lat', 'valid', ['rule' => 'numeric'])
> ->allowEmpty('lat')
> ->add('lng', 'valid', ['rule' => 'numeric'])
> ->allowEmpty('lng')
> ->add('start_date', 'valid', ['rule' => 'date'])
> ->add('end_date', [
> 'valid'=> ['rule' => 'date'] ,
> 'compare' => [
> 'rule' => function ($value, $context) {
> $date_end = Time::createFromFormat('d/m/Y',$value);
> $date_start =
Time::createFromFormat('d/m/Y',$context['data']['start_date']);
> return ($date_start < $date_end);
> }
> ]
>  ]
>
> );
>
> return $validator;
> }
>
> In controller:
> 
> $calendar = $this->Calendars->patchEntity($calendar, $calendar_data);
> .
> $calendar->start_date = implode("-",array_reverse(explode("/",
$this->request->data['start_date'])));
> $calendar->end_date = implode("-",array_reverse(explode("/",
$this->request->data['end_date'])));
> ...
> if(!$this->Calendars->save($calendar))
> ...
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
"CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Compare 2 date in cake3

2015-09-02 Thread Anthony GRASSIOT
And that's normal and make sense because $calendar->start_date and
$calendar->end_date are the only fields for which you use setters...
Le 2 sept. 2015 12:07, "lorenzoshake" <ferri.lore...@gmail.com> a écrit :

>
>
> Il giorno mercoledì 2 settembre 2015 11:24:15 UTC+2, Anthony GRASSIOT ha
> scritto:
>>
>> That what I thought. Validation is not applied if you set the value
>> directly with a setter like you does. You need to use patchEntity().
>>
>>
>> i think so, but the other validation rules works fine!
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Compare 2 date in cake3

2015-09-02 Thread Anthony GRASSIOT
exactly. glad that it workd
Le 2 sept. 2015 16:22, "lorenzoshake" <ferri.lore...@gmail.com> a écrit :

>
>
> Il giorno mercoledì 2 settembre 2015 12:17:42 UTC+2, Anthony GRASSIOT ha
> scritto:
>>
>> And that's normal and make sense because $calendar->start_date and
>> $calendar->end_date are the only fields for which you use setters...
>>
>>>
>>>
> ok, solved ;)
> just format date in array data first to process it in patchEntity :
>
> if(isset($this->request->data['start_date']) &&
> trim($this->request->data['start_date']) != '')
> {
> $calendar_data['start_date'] = implode("-",array_reverse(explode("/",
> $this->request->data['start_date'])));
> }
> if(isset($this->request->data['end_date']) &&
> trim($this->request->data['end_date']) != '')
> {
> $calendar_data['end_date'] = implode("-",array_reverse(explode("/",
> $this->request->data['end_date'])));
> }
>
> $calendar = $this->Calendars->patchEntity($calendar, $calendar_data);
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Compare 2 date in cake3

2015-09-01 Thread Anthony GRASSIOT
'custom',['rule' =>  [$this, 'checkDate']]

this doesn't seems to be a correct syntax... Why don't you use one of the
proposed solution ?
Le 1 sept. 2015 10:46, "lorenzoshake" <ferri.lore...@gmail.com> a écrit :



Il giorno martedì 1 settembre 2015 10:44:40 UTC+2, lorenzoshake ha scritto:
>
>
>
> Il giorno lunedì 31 agosto 2015 18:34:37 UTC+2, Anthony GRASSIOT ha
> scritto:
>>
>> Maybe something like:
>>
>> 'compare' => [
>> 'rule' => function ($value, $context) {
>> return
>> $value->gte($context['data']['start_date']);
>> }
>>
>>>
>>> now the check was executed:
> public function validationDefault(Validator $validator)
> {
> $validator
> ->add('id', 'valid', ['rule' => 'numeric'])
> ->allowEmpty('id', 'create')
> ->add('social_user_id', 'valid', ['rule' => 'numeric'])
> ->allowEmpty('social_user_id')
> ->allowEmpty('name')
> ->allowEmpty('address')
> ->allowEmpty('city')
> ->add('lat', 'valid', ['rule' => 'numeric'])
> ->allowEmpty('lat')
> ->add('lng', 'valid', ['rule' => 'numeric'])
> ->allowEmpty('lng')
> ->add('start_date', 'valid', ['rule' => 'date'])
> ->add('end_date',
> 'custom',['rule' =>  [$this, 'checkDate']]
> );
>
> return $validator;
> }
>
  but the record was always saved ( checkDate return always false for test)


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Compare 2 date in cake3

2015-08-31 Thread Anthony GRASSIOT
Maybe something like:

'compare' => [
'rule' => function ($value, $context) {
return $value->gte($context['data']['start_date']);
}
Le 31 août 2015 18:24, "lorenzoshake"  a écrit :

> I've been tried with:
>
> $validator ->add('end_date', [
> 'valid'=> ['rule' => 'date'] ,
> 'compare' =>['rule' => ['comparison', '>' ,'start_date']]
>  ]
> );
>
> but doesn't work;
>
> how to validate start_date and end_date ( end must be greater than
> start_date) ?
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-14 Thread Anthony GRASSIOT
Paulo, this is what I'm doing with french phone number. I've cut the 
example to the minimum :

file src/Model/Validation/

?php
namespace App\Model\Validation;


class FrValidationRule
{
public static function phone($check) {
$pattern = 
'/^0[1-9]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})|((\.[0-9]{2}){4})$/';
return (bool)preg_match($pattern, $check);
}

}



and then in the table :

public function validationDefault(Validator $validator)

{
$validator-provider('french', 'App\Model\Validation\FrValidationRule');


$validator
-add('phone', 'phone', [
'rule' = 'phone',
'provider' = 'french',
'message' = __('Merci d\'entrer un numéro de téléphone valide.')
]);

return $validator;
}



I hope it will help.

best regards

Le vendredi 12 juin 2015 13:06:04 UTC+2, Paulo Terra a écrit :

 Hi, I have been looking for a plugin to validate Person ID, Phone, ZIP 
 Code, etc, but all I can find is for old versions of CakePHP. Does anybody 
 know where I can find a working version for CakePHP 3.0?

 Thanks.

 Paulo Terra


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread Anthony GRASSIOT
I can show you the real example tomorrow if you didn't found a solution
Le 13 juin 2015 19:03, Anthony GRASSIOT antograss...@gmail.com a écrit :

 well it can be anywhere. Personally I baked a plugin and put my class
 under src/Model/Validation/FrenchValidation.php under the
 App/Model/Validation namespace for example.
 Le 13 juin 2015 17:52, Paulo Terra pte...@gmail.com a écrit :

 Hi José and Anthony, Thank you for your help, but the explanation is very
 poor. It does not say how to find the validation class, the folder it
 should be, not even an example of how it should be constructed, the method
 and if you have more then one validation to construct.

 Is there a better documentation about this?

 thanks in advance.

 2015-06-13 12:27 GMT-03:00 Paulo Terra pte...@gmail.com:

 This is exactly what I was reading at the moment. Thanks José.
 Em 13/06/2015 12:10, Anthony GRASSIOT antograss...@gmail.com
 escreveu:

 he's refering to this:

 http://book.cakephp.org/3.0/en/core-libraries/validation.html#adding-validation-providers
  Le 13 juin 2015 16:49, Paulo Terra pte...@gmail.com a écrit :

 Thank you José for your reply.

 I need to validate brazilian ID´s CPF and CNPJ, brazilian ZIP Code and
 phones.

 When you say custom validation provider do you mean the model in cake?


 Em sábado, 13 de junho de 2015 04:13:25 UTC-3, José Lorenzo escreveu:

 There isn't yet. What do you need from the plugin?

 If it is the validation rules, you can just copy the rules from the
 old Localized plugin into your custom validation provider.

 On Friday, June 12, 2015 at 1:06:04 PM UTC+2, Paulo Terra wrote:

 Hi, I have been looking for a plugin to validate Person ID, Phone,
 ZIP Code, etc, but all I can find is for old versions of CakePHP. Does
 anybody know where I can find a working version for CakePHP 3.0?

 Thanks.

 Paulo Terra

  --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google
 Groups CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.

  --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to a topic in the
 Google Groups CakePHP group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/cake-php/Zn05icCM6rQ/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.


  --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.



-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread Anthony GRASSIOT
he's refering to this:
http://book.cakephp.org/3.0/en/core-libraries/validation.html#adding-validation-providers
 Le 13 juin 2015 16:49, Paulo Terra pte...@gmail.com a écrit :

 Thank you José for your reply.

 I need to validate brazilian ID´s CPF and CNPJ, brazilian ZIP Code and
 phones.

 When you say custom validation provider do you mean the model in cake?


 Em sábado, 13 de junho de 2015 04:13:25 UTC-3, José Lorenzo escreveu:

 There isn't yet. What do you need from the plugin?

 If it is the validation rules, you can just copy the rules from the old
 Localized plugin into your custom validation provider.

 On Friday, June 12, 2015 at 1:06:04 PM UTC+2, Paulo Terra wrote:

 Hi, I have been looking for a plugin to validate Person ID, Phone, ZIP
 Code, etc, but all I can find is for old versions of CakePHP. Does anybody
 know where I can find a working version for CakePHP 3.0?

 Thanks.

 Paulo Terra

  --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread Anthony GRASSIOT
well it can be anywhere. Personally I baked a plugin and put my class under
src/Model/Validation/FrenchValidation.php under the App/Model/Validation
namespace for example.
Le 13 juin 2015 17:52, Paulo Terra pte...@gmail.com a écrit :

 Hi José and Anthony, Thank you for your help, but the explanation is very
 poor. It does not say how to find the validation class, the folder it
 should be, not even an example of how it should be constructed, the method
 and if you have more then one validation to construct.

 Is there a better documentation about this?

 thanks in advance.

 2015-06-13 12:27 GMT-03:00 Paulo Terra pte...@gmail.com:

 This is exactly what I was reading at the moment. Thanks José.
 Em 13/06/2015 12:10, Anthony GRASSIOT antograss...@gmail.com
 escreveu:

 he's refering to this:

 http://book.cakephp.org/3.0/en/core-libraries/validation.html#adding-validation-providers
  Le 13 juin 2015 16:49, Paulo Terra pte...@gmail.com a écrit :

 Thank you José for your reply.

 I need to validate brazilian ID´s CPF and CNPJ, brazilian ZIP Code and
 phones.

 When you say custom validation provider do you mean the model in cake?


 Em sábado, 13 de junho de 2015 04:13:25 UTC-3, José Lorenzo escreveu:

 There isn't yet. What do you need from the plugin?

 If it is the validation rules, you can just copy the rules from the
 old Localized plugin into your custom validation provider.

 On Friday, June 12, 2015 at 1:06:04 PM UTC+2, Paulo Terra wrote:

 Hi, I have been looking for a plugin to validate Person ID, Phone,
 ZIP Code, etc, but all I can find is for old versions of CakePHP. Does
 anybody know where I can find a working version for CakePHP 3.0?

 Thanks.

 Paulo Terra

  --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google
 Groups CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.

  --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to a topic in the
 Google Groups CakePHP group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/cake-php/Zn05icCM6rQ/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.


  --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: 3.x: SessionHelper deprecated, what's the new version of this?

2015-04-21 Thread Anthony GRASSIOT
http://book.cakephp.org/3.0/en/views/helpers/flash.html
Le 22 avr. 2015 06:17, Andras Kende and...@kende.com a écrit :

 Try:
 ?= $this-Flash-render(); ?

 https://github.com/cakephp/app/blob/master/src/Template/Layout/default.ctp#L49

 Andras Kende


 On Apr 21, 2015, at 8:56 PM, Joe T. thooke...@gmail.com wrote:

 Looks like SessionHelper is/will be deprecated for 3.1 and
 request-session() is recommended... i have this chunk of code found in
 my Layout/default.ctp:

 div id=content
 ?= $this-Session-flash(); ?

 ?= $this-fetch('content'); ?
 /div

 i tried $this-request-session()-flash() but get a fatal error:

 *Error: * Call to undefined method Cake\Network\Session::flash()

 Okay, so not that. i'm sure this code came from early development phases,
 but it never caused a problem until now (admittedly, i've been away from
 this project for several weeks).

 What's the new equivalent to that line?

 Thanks.

 --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.


  --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: namespaces in cakePHP 3?

2015-01-23 Thread Anthony GRASSIOT
it's defined here :
https://github.com/cakephp/cakephp/blob/3.0/composer.json#L35
and corespond to the src folder.
Le 23 janv. 2015 21:17, McScreech mcscre...@inbox.com a écrit :

 sorry, i meant to ask about the 'Cake' namespace specifically. thanx again.

 On Friday, 23 January 2015 15:07:25 UTC-5, McScreech wrote:

 where are namespaces defined in cakePHP 3 source?

 (i'm posting on google groups cakePHP **and** stackoverflow cakePHP)
 (if this is the wrong place to post this, i appologize - where **should**
 it go?)

 setup:
 Windows 7 Business Edition Service Pack 1
 Server version: Apache/2.4.7 (Win32)
 Apache Lounge VC11 Server built:   Nov 21 2013 20:13:01
 PHP Version = 5.5.19
 MysqlI Client API library version = mysqlnd 5.0.11-dev
 CakePHP Version 3.0.0-RC1

 tia, DaveT.

  --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: CakePHP 3.0.0-beta3 released

2015-01-01 Thread Anthony GRASSIOT
you must enable intl php extension.
Le 2 janv. 2015 05:53, Lorne Dudley dudl...@queensu.ca a écrit :

 Hello Mark !

 I have made a number of attempts at getting different cakephp 3.0.0-beta3
 applications to run without success.   In all cases I get to this message.
 *Fatal error*: Class 'Locale' not found in
 *C:\Users\RedFox\Documents\web\app-master-cake3\vendor\cakephp\cakephp\src\I18n\I18n.php*
 on line *235*
 Can you advise this novice user how to get past this point ?

 Regards

 Lorne Dudley

 On Sunday, November 16, 2014 9:49:13 PM UTC-5, mark_story wrote:

 The CakePHP core team is excited to announce the release of CakePHP
 3.0.0-beta3. While we had originally planned on only doing 2 beta releases,
 we're not entirely satisfied with the current ORM validation workflow, and
 want to do some additional work there. The new plan is to have at least two
 RC releases after beta3. The RC releases will be API frozen and no new
 features or breaking changes will be added.

 Since 3.0.0-beta2, we've been hard at work incorporating community
 feedback, and completing the remaining changes that will break
 compatibility in a significant way.

 # Breaking Changes since 3.0.0-beta2

 * Bake templates now use a templating mechanism that involves a
 pre-parsing steps of the templates. This was done to improve the
 readability and ease of creating new bake templates. This also means that
 any custom templates that you may have will need to be updated.
 * The default replacement for `Inflector::slug()` is now `-` instead of
 `_`.
 * `LOG_ERROR` and `TESTS` constants were unused and have been removed.
 * `Controller::$actions` was removed and replaced with
 `Controller::isAction()`. The new method makes it easier to customize which
 methods your controllers consider to be routable actions.
 * `Component::initialize()` is now a post-constructor hook like all other
 initialize methods.
 * Component has a new `beforeFilter()` event listener that is fired
 *before* a controllers' `beforeFilter` method is.
 * `CakeSession::read()` returns null in all failure scenarios now.
 * Controller actions invoked with `requestAction()` must return a
 Response object now. All other return values will trigger an error.
 * Database configuration no longer accepts the `'login'` key. You *must*
 use `'username'`. This was changed to resolve inconsistencies across the
 framework.
 * Checkbox and radio inputs are now nested inside their attached label
 elements. This was done to improve compatibility with a few popular CSS
 libraries. If you have customized the templates FormHelper uses, you may
 need to update your templates.
 * `Cake\View\Error\MissingViewException` is now 
 `Cake\View\Error\MissingTemplateException`
 in order to allow `MissingView` to be used for missing view classes.
 * Authentication objects that had implemented `logout()` need to be
 updated to use the new `Auth.logout` event.
 * The `App.www_root` configuration value has been renamed to
 `App.wwwRoot` for consistency reasons.


 # New features since 3.0.0-beta2

 * `Cake\Cache\EngineFileEngine` now generates directories when debug is
 off.
 * There are several new standalone libraries extracted from CakePHP. The
 `Cache`, `Log`, `Utility` packages are now installable separately with
 composer.
 * The `pj()` (print json) helper method has been added as a convenience
 when working in the interactive console or test cases.
 * The `Model.initialize` event has been added. This event is fired right
 after a table's initialize hook has completed, allowing plugins or other
 listeners to interact with table objects.
 * Database connections, cache engines, loggers and email transports can
 now be configured with a Datasource Name (DSN) using the `url` key. This
 makes it easier to define configuration in environment variables which is a
 recommended approach by many Platform as a service providers.
 * `Component::initialize()` and `View::initialize()` were added.
 * Arbitrary meta tags can be created with `HtmlHelper::meta()`.
 * Exceptions are now raised when custom view class cannot be found.
 * Request data marshaled into entities is not forcibly cast now. This
 makes validating entity data a bit easier as entity data more closely
 represents the original request data.
 * The query expression builder now has a `between()` method for
 generating `BETWEEN` clauses.
 * `Cake\ORM\Behavior::initialize()` was added.
 * Stack traces are now displayed on fatal errors if xdebug is installed.
 * `Request::is()` now caches results in memory.
 * AuthComponent has two new events. `Auth.afterIdentify` is fired after a
 user is identified or logged in. `Auth.logout` is fired when
 `AuthComponent::logout()` is called.
 * SessionComponent is deprecated. Instead you should be using
 `$this-request-session()` instead.
 * Each hasher in the `FallbackHasher` class can have separate options now.

 For more details on all the changes in 3.0.0, you can consult the
 [migration 

How to create a provider of validation

2014-12-01 Thread Anthony GRASSIOT
well, i would say that at least you need to include your class by replacing
use Cake\Validation\Validate 
by
use Maitrepylos\Validation.
then maybe you need to bind a provider as explained in the doc 

http://book.cakephp.org/3.0/en/core-libraries/validation.html#adding-validation-providers
but I didn't use it yet.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Time Class

2014-10-12 Thread Anthony GRASSIOT
You probably need to update your cake version.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: The (bad) perception and image of CakePHP in the public

2014-10-02 Thread Anthony GRASSIOT
- easy to start with.
- fast to build maintanable apps.
- reactive and friendly community and team.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2014-09-14 Thread Anthony GRASSIOT
HK, it has been fixed yesterday in 3.x 
The view is now rendered and a warning is displayed in debugKit's request panel.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


TestSuite in CakePHP3

2014-08-05 Thread Anthony GRASSIOT
Dear guys,

as the test suite as been removed from Cake 3.X, is there a reason why we 
are keeping those files around ?

/webroot/images/test.error-icon.png
/webroot/images/test.fail-icon.png
/webroot/images/test.pass-icon.png
/webroot/images/test.skip-icon.png

Moreover I think we could get rid of all the `.code-coverage-xxx`classes in 
the cake.generic.css

May I open a PR for this ?

Regards
Anto

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.