protected function _getActiveMenuPattern($level = 0, $urlInfo = null) {
		if (empty($urlInfo) || !is_array($urlInfo)) {
			return false;
		}

		$level = (int)$level;
		extract($urlInfo);
		if (($level < 0) || ($level > 2)) {
			$level = 0;
		}

		if ($level > 1) {
			$action = 'index';
		}
		if ($level == 0) {
			$userPrefix = $this->Session->read('Auth.User.prefix');
			if (empty($prefix) && !empty($userPrefix)) {
				$prefix = $userPrefix;
			}
		}

		$url = compact(
			'controller',
			'action',
			'plugin',
			'prefix'
		);
		if (!empty($prefix)) {
			$url[$prefix] = true;
		}
		$href = $this->url($url);
		$href = preg_quote($href, '/');
		if (!empty($pass) || !empty($named)) {
			if (((($level == 0) && (mb_stripos($action, 'index') === false)) ||
				($level == 2)) && ($href !== '\/')) {
				$href .= '\/?.*';
			}
		}
		$activePattern = '/<a\s+href=\"' . $href . '\".*>/iu';

		return $activePattern;
	}