public function redirectView($view, $rule = null)
    {
        // get the view url form view name
        $viewParts = explode('.', $view);
        $viewMod = $viewParts[0];
        $viewName = $viewParts[count($viewParts) - 1];
        $viewName = strtolower(str_replace("View", "", $viewName));
        $url = OPENBIZ_APP_INDEX_URL . "/$viewMod/$viewName";
        $this->redirectPage($url);
        $this->printOutput();
        //Openbizx::$app->getClientProxy()->printOutput();
    }
public function redirectView($view, $rule = null)
    {
        // get the view url form view name
        $viewParts = explode('.', $view);
        $viewMod = $viewParts[0];
        $viewName = $viewParts[count($viewParts) - 1];
        $viewName = strtolower(str_replace("View", "", $viewName));
        $url = OPENBIZ_APP_INDEX_URL . "/$viewMod/$viewName";
        $this->redirectPage($url);
        $this->printOutput();
        //Openbizx::$app->getClientProxy()->printOutput();
    }
public function redirectView ( $ view , $ rule = null ) { // get the view url form view name $ viewParts = explode ( '.' , $ view ) ; $ viewMod = $ viewParts [ 0 ] ; $ viewName = $ viewParts [ count ( $ viewParts ) - 1 ] ; $ viewName = strtolower ( str_replace ( "View" , "" , $ viewName ) ) ; $ url = OPENBIZ_APP_INDEX_URL . "/$viewMod/$viewName" ; $ this -> redirectPage ( $ url ) ; $ this -> printOutput ( ) ; //Openbizx::$app->getClientProxy()->printOutput(); }
Redirect page to the given view.
Encoded html string returns to browser, it'll be processed by client javascript.

@param string $view full name of view (with package)
@param string $rule
@return void
Redirect page to the given view . Encoded html string returns to browser it ll be processed by client javascript .