Loading vendors usually means you are loading packages , so in CakePHP you can use:
App::import('Vendor','');
As an expample if you want to load a vendor named recurly which is saved in your app's Vendor folder and you want to access the file named recurly.php you can access it by writing the below code in your controller function.
App::import('Vendor', 'recurly', array('file' => 'recurly' . DS . 'recurly.php'));
0 Comment(s)