/ Published in: PHP

This code within your CakePHP controller to include a component.
Expand |
Embed | Plain Text
$this->components[] = 'ComponentName'; $this->Component->init($this);
You need to login to post a comment.
This code within your CakePHP controller to include a component.
$this->components[] = 'ComponentName'; $this->Component->init($this);
You need to login to post a comment.