Posted By

jdbartlett on 12/18/08


Tagged

cakephp


Versions (?)

Include a component from within a CakePHP controller


 / Published in: PHP
 

This code within your CakePHP controller to include a component.

  1. $this->components[] = 'ComponentName';
  2. $this->Component->init($this);

Report this snippet  

You need to login to post a comment.