Welcome Guest, Not a member yet? Register   Sign In
Internal Controller Redirect????
#5

[eluser]InsiteFX[/eluser]
As Narkboy said!

Code:
class Some_controller extends Controller

function Some_controller ()
{
    parent::Controller
}

function index()
{
    if (TRUE)
    {
        // do normal stuff here
    }
    else
    {
        // do something else, call other method!
        $this->new_method();
    }
}

function new_method()
{
    // do something else now
    something_more();
}

InsiteFX


Messages In This Thread
Internal Controller Redirect???? - by El Forum - 01-21-2011, 03:14 PM
Internal Controller Redirect???? - by El Forum - 01-21-2011, 03:27 PM
Internal Controller Redirect???? - by El Forum - 01-21-2011, 03:37 PM
Internal Controller Redirect???? - by El Forum - 01-21-2011, 03:38 PM
Internal Controller Redirect???? - by El Forum - 01-22-2011, 01:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB