_layoutFileName = $name; } public function renderScript($script,$name=null) { if($name===null) $name = $this->getResponseSegment(); $this->view->assign('LAYOUT_CONTENT',$script); $this->getResponse()->appendBody( $this->view->render($this->_layoutFileName), $name ); $this->setNoRender(); } public function getName() { return 'ViewRenderer'; } } ?>