anyone can help me, how can i calls a controller's method from any location like in view file?

Calls a controller's method from any location. i want get controller action view render as result to return back to the view. before i used CakePHP,it's have a requestAction function in the view ,it's can get controller action view render from view. so any idea for me to solve my question. thanks



84.5k

Phalcon does not support calling actions or controllers in views since the view rendering is performed after the dispatch loop has ended.