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/);
No comments:
Post a Comment