1. Render
Render not specified
Result: {current module}/{current controller}/{current action}. phtml
$ This-> render ('bar ');
Result: {current module}/{current controller}/bar. phtml
Ii. Forward
$ This-> _ forward ('bar ');
Result: {current module}/{current controller}/Bar
$ This-> _ forward ('bar', 'foo ');
Result: {current module}/Foo/Bar
$ This-> _ forward ('bar', 'foo', 'hoge ');
Result: Hoge/Foo/Bar
$ Params = array (
'A' => '1 ',
'B' => '2'
);
$ This-> _ forward ('bar', 'foo', 'hoge', $ Params );
Result:/Hoge/Foo/BAR/A/1/B/2.
Iii. Redirect
$ This-> _ redirect ('/Hoge ');
Result:/Hoge
$ This-> _ redirect ('/Hoge/foo ');
Result:/Hoge/foo
$ This-> _ redirect ('/Hoge/Foo/bar ');
Result:/Hoge/Foo/Bar
$ This-> _ redirect ('HTTP: // localhost/Hoge/Foo/Bar & #39 ;);
Result:
Http: // localhost/Hoge/Foo/Bar
$ This-> _ redirect ('HTTP: // localhost/Hoge/Foo/bar? A = 1 & B = 2 & #39 ;);
Result:
Http: // localhost/Hoge/Foo/bar? A = 1 & B = 2
Iv. Special Cases
Do not use Layout
Result: $ this-> _ helper-> layout ()-> disablelayout ();
Do not use View
Result: $ this-> _ helper-> viewrenderer-> setnorender ();