Welcome Guest, Not a member yet? Register   Sign In
how load one controller in to a controller?
#1

[eluser]Unknown[/eluser]
I need load one controller in to a controller for example:

<?php
class Other extends Controller{
var $controller = new One_Controller();

function Other(){
parent::Controller();
}
public function index(){
echo $controller->myfunction();
}
}
?>

how I do???


Messages In This Thread
how load one controller in to a controller? - by El Forum - 12-31-2008, 08:25 AM
how load one controller in to a controller? - by El Forum - 12-31-2008, 08:53 AM
how load one controller in to a controller? - by El Forum - 12-31-2008, 08:58 AM
how load one controller in to a controller? - by El Forum - 12-31-2008, 09:06 AM
how load one controller in to a controller? - by El Forum - 01-01-2009, 03:29 AM
how load one controller in to a controller? - by El Forum - 01-01-2009, 04:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB