Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Overrides the parent method to allow additional regions in the layout view.
- */
- public function render($view, $data=null, $return=false)
- {
- $output = $this->renderPartial($view, $data, true);
- if($this->ajax && !$return)
- {
- echo $output;
- return;
- }
- if(($layoutFile = $this->getLayoutFile($this->layout)) !== false)
- $output = $this->renderFile($layoutFile, array(
- 'content' => $output,
- 'filter' => $this->filter,
- 'manager' => $this->manager,
- ), true);
- $output = $this->processOutput($output);
- if($return)
- return $output;
- else
- echo $output;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement