Blog

1 Jun

Loading Dynamic Components in CakePHP In this post we show an EASY (like our company name ) to load any component you want dynamically in cakePHP framework. Simple example: class AutosController extends AppController { … var $components = array(); … // Load Dynamic Components function __construct(){ $this->components = array(‘Component1′, ‘Component2’); parent::__construct(); } … }