public function getSectionItem()

in lib/php/libsdk/SDK/Build/PGO/Config.php [181:200]


	public function getSectionItem(...$args)
	{
		$i = 0;
		$k = strtolower($args[$i]);
		$it = $this->sections;

		while (array_key_exists($k, $it)) {
			$it = $it[$k];

			if (++$i >= count($args)) break;

			$k = strtolower($args[$i]);
		}

		if ($i != count($args)) {
			return NULL;
		}

		return $it;
	}