Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Renaming Controller::_view() to Controller::_getViewObject()
  • Loading branch information
Florian Krämer committed Jan 25, 2013
1 parent bb91beb commit 8d9acd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Controller/Controller.php
Expand Up @@ -930,7 +930,7 @@ public function render($view = null, $layout = null) {
} }
} }


$this->View = $this->_view(); $this->View = $this->_getViewObject();


$models = ClassRegistry::keys(); $models = ClassRegistry::keys();
foreach ($models as $currentModel) { foreach ($models as $currentModel) {
Expand Down Expand Up @@ -1221,7 +1221,7 @@ protected function _scaffoldError($method) {
* *
* @return View * @return View
*/ */
protected function _view() { protected function _getViewObject() {
$viewClass = $this->viewClass; $viewClass = $this->viewClass;
if ($this->viewClass != 'View') { if ($this->viewClass != 'View') {
list($plugin, $viewClass) = pluginSplit($viewClass, true); list($plugin, $viewClass) = pluginSplit($viewClass, true);
Expand Down

0 comments on commit 8d9acd9

Please sign in to comment.