function getNextLevel($level)
    {
        $levels = $this->getLevels();
        $level_incdeces = $this->getLevelIndeces();
        $level_index = $level_incdeces[$level];
        if (!isset($levels[$level_index + 1])) {
            return false;
        }
        $next_level = $levels[$level_index + 1];
        return $next_level;
    }
function getNextLevel($level)
    {
        $levels = $this->getLevels();
        $level_incdeces = $this->getLevelIndeces();
        $level_index = $level_incdeces[$level];
        if (!isset($levels[$level_index + 1])) {
            return false;
        }
        $next_level = $levels[$level_index + 1];
        return $next_level;
    }
function getNextLevel ( $ level ) { $ levels = $ this -> getLevels ( ) ; $ level_incdeces = $ this -> getLevelIndeces ( ) ; $ level_index = $ level_incdeces [ $ level ] ; if ( ! isset ( $ levels [ $ level_index + 1 ] ) ) { return false ; } $ next_level = $ levels [ $ level_index + 1 ] ; return $ next_level ; }
Get the level that comes immediatly after to the requested level, or false if none
@param string $level
@return mixed string level, false if none
Get the level that comes immediatly after to the requested level or false if none