Monday, 16 September 2013

How can direct import controller function in ctp file.


 How can direct import controller function in ctp file.

 Some Time we need to direct  import controller function in ctp file then given below function is very use full.

You can try it 
Firstly create method on controller file
$this->requestAction('/ControllerName/MethodName/);