Monday, August 18, 2014

Re: How to access vendor classes in CakePHP 3

can you post the code where you instantiate the class ?


On 18 Aug 2014, at 11:42, Jipson Thomas <jipson@strategic-ic.co.uk> 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 need to integrate mandrill API and Authorize.net API, I installed both through the compose of cakephp and both are downloaded to my vendors folder.When I am trying to create their objects in our controller action, I am getting fatal error as Class 'App\Controller\AuthorizeNet_
Subscription' not found. I couldn't find any thing related to this on cakephp documentation also. Would you please help me to solve this issue? I had another post with this details, but that is not replied.

Thanks and Regards,
Jipson


https://groups.google.com/forum/#!searchin/cake-php/authorize.net/cake-php/p5XbQfJGrWg/ZTBd5b1LCUcJ

--
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+unsubscribe@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.

No comments: