Skip to content

Commit

Permalink
Prefixed private variable names with underscrore
Browse files Browse the repository at this point in the history
  • Loading branch information
roccivic committed Oct 30, 2012
1 parent bbb1a5a commit f5f3cd6
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 78 deletions.
12 changes: 6 additions & 6 deletions libraries/navigation/Navigation.class.php
Expand Up @@ -41,7 +41,7 @@ class PMA_Navigation {
* @var int Position in the list of databases,
* used for pagination
*/
private $pos;
private $_pos;

/**
* Initialises the class, handles incoming requests
Expand All @@ -54,10 +54,10 @@ public function __construct()
$GLOBALS['token'] = $_SESSION[' PMA_token '];

if (isset($_REQUEST['pos'])) {
$this->pos = (int) $_REQUEST['pos'];
$this->_pos = (int) $_REQUEST['pos'];
}
if (! isset($this->pos)) {
$this->pos = $this->_getNavigationDbPos();
if (! isset($this->_pos)) {
$this->_pos = $this->_getNavigationDbPos();
}
}

Expand Down Expand Up @@ -94,7 +94,7 @@ public function getDisplay()
$header = new PMA_NavigationHeader();
$retval = $header->getDisplay();
}
$tree = new PMA_NavigationTree($this->pos);
$tree = new PMA_NavigationTree($this->_pos);
if (! PMA_Response::getInstance()->isAjax()
|| ! empty($_REQUEST['full'])
|| ! empty($_REQUEST['reload'])
Expand All @@ -105,7 +105,7 @@ public function getDisplay()
);
$retval .= PMA_commonFunctions::getInstance()->getListNavigator(
$num_db,
$this->pos,
$this->_pos,
$_url_params,
'navigation.php',
'frame_navigation',
Expand Down

0 comments on commit f5f3cd6

Please sign in to comment.