cakephp 3 ORM find and foreach

2014-02-12 Thread mark_story
Yes you need to make sure the property is not empty. The orm doesn't set empty arrays when an association has no records. -mark -- 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

Using ORM Entity mutators to change value doesn't work

2014-02-12 Thread mark_story
Nope that is how they should work. I can take a look tongiht and see if I can reproduce that issue. -mark -- 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 "CakeP

Re: Can HTTP POST response size be minimized?

2014-02-12 Thread Matt Murphy
Have you looked at what is specifically in the response? And have you read about CakeResponse? http://book.cakephp.org/2.0/en/controllers/request-response.html#CakeResponse On Wed, Feb 12, 2014 at 8:24 AM, Sam wrote: > I have an application which sends plenty of HTTP POST to add records to a

Can HTTP POST response size be minimized?

2014-02-12 Thread Sam
I have an application which sends plenty of HTTP POST to add records to a cakephp 2.3 application which was cake baked. I noticed that the HTTP response from cakephp is quite big. Can HTTP POST response size be minimized? I don't really care about the response. Please note that I am not sendi