protected function _getManifests( array $directories )
	{
		$manifests = array();

		foreach ( $directories as $directory )
		{
			if ( ( $manifest = $this->_getManifestFile( $directory ) ) !== false )
			{
				$manifests[ $directory ] = $manifest;
				continue;
			}

			$dir = new DirectoryIterator( $directory );

			foreach ( $dir as $dirinfo )
			{
				if ( $dirinfo->isDot() === false )
				{
					if ( ( $manifest = $this->_getManifestFile( $dirinfo->getPathName() ) ) !== false ) {
						$manifests[$dirinfo->getPathName()] = $manifest;
					}
				}
			}
		}

		return $manifests;
	}
protected function _getManifests( array $directories )
	{
		$manifests = array();

		foreach ( $directories as $directory )
		{
			if ( ( $manifest = $this->_getManifestFile( $directory ) ) !== false )
			{
				$manifests[ $directory ] = $manifest;
				continue;
			}

			$dir = new DirectoryIterator( $directory );

			foreach ( $dir as $dirinfo )
			{
				if ( $dirinfo->isDot() === false )
				{
					if ( ( $manifest = $this->_getManifestFile( $dirinfo->getPathName() ) ) !== false ) {
						$manifests[$dirinfo->getPathName()] = $manifest;
					}
				}
			}
		}

		return $manifests;
	}
protected function _getManifests ( array $ directories ) { $ manifests = array ( ) ; foreach ( $ directories as $ directory ) { if ( ( $ manifest = $ this -> _getManifestFile ( $ directory ) ) !== false ) { $ manifests [ $ directory ] = $ manifest ; continue ; } $ dir = new DirectoryIterator ( $ directory ) ; foreach ( $ dir as $ dirinfo ) { if ( $ dirinfo -> isDot ( ) === false ) { if ( ( $ manifest = $ this -> _getManifestFile ( $ dirinfo -> getPathName ( ) ) ) !== false ) { $ manifests [ $ dirinfo -> getPathName ( ) ] = $ manifest ; } } } } return $ manifests ; }
Returns the configurations of the manifest files in the given directories.

@param array $directories List of directories where the manifest files are stored
@return array Associative list of directory / configuration array pairs
Returns the configurations of the manifest files in the given directories .