demo/include/DemoApplication.php
private function getDemo()
	{
		$demo = isset($_GET['demo']) ? $_GET['demo'] : null;

		// simple security
		if (!array_key_exists($demo, $this->available_demos))
			$demo = null;

		return $demo;
	}
private function getDemo()
	{
		$demo = isset($_GET['demo']) ? $_GET['demo'] : null;

		// simple security
		if (!array_key_exists($demo, $this->available_demos))
			$demo = null;

		return $demo;
	}
private function getDemo ( ) { $ demo = isset ( $ _GET [ 'demo' ] ) ? $ _GET [ 'demo' ] : null ; // simple security if ( ! array_key_exists ( $ demo , $ this -> available_demos ) ) $ demo = null ; return $ demo ; }
Gets the demo page
Gets the demo page