public static function api_support()
	{
		$existing_classes = get_declared_classes();

		foreach (glob(dirname(dirname(__FILE__)) . '/services/*.class.php') as $file)
		{
			include $file;
		}

		$with_sdk_classes = get_declared_classes();
		$new_classes = array_diff($with_sdk_classes, $existing_classes);
		$filtered_classes = array();
		$collect = array();

		foreach ($new_classes as $class)
		{
			if (strpos($class, 'Amazon') !== false)
			{
				$filtered_classes[] = $class;
			}
		}

		$filtered_classes = array_values($filtered_classes);

		foreach ($filtered_classes as $class)
		{
			$obj = new $class();
			$collect[get_class($obj)] = $obj->api_version;
			unset($obj);
		}

		return $collect;
	}
public static function api_support()
	{
		$existing_classes = get_declared_classes();

		foreach (glob(dirname(dirname(__FILE__)) . '/services/*.class.php') as $file)
		{
			include $file;
		}

		$with_sdk_classes = get_declared_classes();
		$new_classes = array_diff($with_sdk_classes, $existing_classes);
		$filtered_classes = array();
		$collect = array();

		foreach ($new_classes as $class)
		{
			if (strpos($class, 'Amazon') !== false)
			{
				$filtered_classes[] = $class;
			}
		}

		$filtered_classes = array_values($filtered_classes);

		foreach ($filtered_classes as $class)
		{
			$obj = new $class();
			$collect[get_class($obj)] = $obj->api_version;
			unset($obj);
		}

		return $collect;
	}
public static function api_support ( ) { $ existing_classes = get_declared_classes ( ) ; foreach ( glob ( dirname ( dirname ( __FILE__ ) ) . '/services/*.class.php' ) as $ file ) { include $ file ; } $ with_sdk_classes = get_declared_classes ( ) ; $ new_classes = array_diff ( $ with_sdk_classes , $ existing_classes ) ; $ filtered_classes = array ( ) ; $ collect = array ( ) ; foreach ( $ new_classes as $ class ) { if ( strpos ( $ class , 'Amazon' ) !== false ) { $ filtered_classes [ ] = $ class ; } } $ filtered_classes = array_values ( $ filtered_classes ) ; foreach ( $ filtered_classes as $ class ) { $ obj = new $ class ( ) ; $ collect [ get_class ( $ obj ) ] = $ obj -> api_version ; unset ( $ obj ) ; } return $ collect ; }
Gets information about the web service APIs that the SDK supports.

@return array An associative array containing service classes and API versions.
Gets information about the web service APIs that the SDK supports .