Welcome Guest, Not a member yet? Register   Sign In
Call a private controller method from within another controller
#1

[eluser]wbremen[/eluser]
Hey there,

In a controller I have a privat method (function _name()) which is heavely depending on the other methods in that specific controller and also on the model of that controller - know I need access to that function in all my other controllers, is that possible, maybe with a workaround?

I was thinking of something like this:

$this->get_controller_function->controller_name->_method_name();

Thanks


Messages In This Thread
Call a private controller method from within another controller - by El Forum - 01-16-2011, 12:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB