Skip to content

Commit

Permalink
instanceof Kohana_View is now instanceof View. Also made a small PHPDoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Ellis committed Jan 8, 2011
1 parent 44eee97 commit 035c940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/kohana/pagination.php
Expand Up @@ -239,7 +239,7 @@ public function render($view = NULL)
$view = $this->config['view']; $view = $this->config['view'];
} }


if ( ! $view instanceof Kohana_View) if ( ! $view instanceof View)
{ {
// Load the view file // Load the view file
$view = View::factory($view); $view = View::factory($view);
Expand All @@ -262,7 +262,7 @@ public function __toString()
/** /**
* Returns a Pagination property. * Returns a Pagination property.
* *
* @param string URI of the request * @param string property name
* @return mixed Pagination property; NULL if not found * @return mixed Pagination property; NULL if not found
*/ */
public function __get($key) public function __get($key)
Expand Down

0 comments on commit 035c940

Please sign in to comment.