ah, findList uses format results and not map() reduce()
the entity i get in map() only has an array of _i18n entities not the
_translations array set
On 19 Aug 2014, at 00:27, José Lorenzo wrote:
> This tests shows that it is possible
> https://github.com/cakephp/cakephp/blob/3.0/tests/TestCa
This tests shows that it is
possible
https://github.com/cakephp/cakephp/blob/3.0/tests/TestCase/Model/Behavior/TranslateBehaviorTest.php#L132
What problems are you having?
On Monday, August 18, 2014 10:15:16 PM UTC+2, Thomas von Hassel wrote:
>
> When doing map/reduce on a model with translated
In the first example you could call $query->toArray() to get an array of
article objects back.
The beauty is when you can start chaining stuff together, for instance custom
find methods
/thomas
On 18 Aug 2014, at 16:59, Dave Edwards wrote:
> Hi,
>
> I'm having trouble getting my head aroun
Hi,
I'm having trouble getting my head around the new ways of working with the
new ORM in CakePHP 3.
I understand that an object is now returned instead of an array, but I find
the amount of new Documentation to explain the new methods of working with
Models almost overwhelming. Whilst it is c
When doing map/reduce on a model with translated fields, there is not good way
to get the translated content in the map/reduce fase except to look in the
`_i18n` association ?
/thomas
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
Yo
Hi Thomas,
Thank you. I did that and I changed my controller as follows.
AuthorizeNetSubscription;
$subscription->name= "PHP Monthly Magazine";
$subscription->intervalLength = "1";
$subscription->intervalUnit= "months";
$subs
./composer.path dump-autoload
and check that the namespace is correct
On 18 Aug 2014, at 13:40, Jipson Thomas wrote:
> Hi Thomas,
> Thank you for your update. MY code is as follows.
>
> The Controller function I used is
>
> namespace App\Controller;
> use App\Controller\AppController;
> use
Hi Thomas,
Thank you for your update. MY code is as follows.
The Controller function I used is
namespace App\Controller;
use App\Controller\AppController;
use Authorizenet\AuthorizeNetARB;
use Cake\ORM\TableRegistry;
use Cake\Event\Event;
use Cake\Network\Email\Email;
public function authtest(){
can you post the code where you instantiate the class ?
On 18 Aug 2014, at 11:42, Jipson Thomas wrote:
> Hi,
> Would you please tell me how we can access some 3rdpart vendor classes (Not
> developed in a CakePHP platform) in our controller functions. For example, in
> my cakePHP 3 website I n
Hi,
Would you please tell me how we can access some 3rdpart vendor classes (Not
developed in a CakePHP platform) in our controller functions. For example,
in my cakePHP 3 website I need to integrate mandrill API and Authorize.net
API, I installed both through the compose of cakephp and both are
You'll need to add that functionality yourself, I wasn't able to find
anything cake related which can do this. You should be able to get this to
work using PHP's directory functions
http://php.net/manual/en/book.dir.php
I would be careful about implementation as you wouldn't want somebody
accessi
11 matches
Mail list logo