zend framework - set/add view from controller action -
I am currently trying to set a visual script to execute except the requested action view script. I want to do this with controller action that this new visual script output will be available from $ $ layout -> layout () -> content assistant
I got the setview ()
>
Just want to present some other visual scripts from an administrator:
$ this-> Render ('see something');
Anything that will provide someviewview.phtml:
expanding myController class Zend_Controller_Action {public function fooAction () {// renders my / foo.phtml $ This- & gt; Render (); // Render meer / bar.file $ this-> Render ('bar'); // render baz.phtml $ this-> Render ('falcon', blank, true); // renders the 'form' segment of the '$' of my / login.phtml / response object-- ('login', 'form'); // render site.phtml for feedback 'page' segment / object; 'My /' subdirectory $ this- & gt; Does not use render ('site', 'page', true); } Public Function bazBatAction () {// Renderers Mary / Falcon - Profile.phillet $$ -> (Render); }
}
You should take the right path!
Apart from this
$ this-> gt; ; RenderScript ('path / / index.phtml');
Actually works well.
Comments
Post a Comment