Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorbloogrox
     
    hello.

    my question is, how to run one controller in context of action of another and get html result

    AController {
    function aaction(){
    $html = $this->runControllerAction($array('controller'=>'AnyController','action'=>'AnyAction'))
    //$html is result of work of AnyController->AnyAction();
    }
    }

    has anybody implemented something like this ?

    thanks!!!