src/Tasks/Build/Base.php
public function generateModuleFileList($files, $module)
	{
		if (!count($files))
		{
			return "";
		}

		$text = array();

		foreach ($files as $f)
		{
			foreach ($f as $type => $value)
			{
				$p = "";

				if ($value == $module . ".php")
				{
					$p = ' module="' . $module . '"';

				}

				$text[] = "<" . $type . $p . ">" . $value . "</" . $type . ">";
			}
		}

		return implode("\n", $text);
	}
public function generateModuleFileList($files, $module)
	{
		if (!count($files))
		{
			return "";
		}

		$text = array();

		foreach ($files as $f)
		{
			foreach ($f as $type => $value)
			{
				$p = "";

				if ($value == $module . ".php")
				{
					$p = ' module="' . $module . '"';

				}

				$text[] = "<" . $type . $p . ">" . $value . "</" . $type . ">";
			}
		}

		return implode("\n", $text);
	}
public function generateModuleFileList ( $ files , $ module ) { if ( ! count ( $ files ) ) { return "" ; } $ text = array ( ) ; foreach ( $ files as $ f ) { foreach ( $ f as $ type => $ value ) { $ p = "" ; if ( $ value == $ module . ".php" ) { $ p = ' module="' . $ module . '"' ; } $ text [ ] = "<" . $ type . $ p . ">" . $ value . "</" . $ type . ">" ; } } return implode ( "\n" , $ text ) ; }
Generate a list of files for modules

@param   array  $files  Files and Folders array
@param   string $module The module

@return  string

@since   1.0
Generate a list of files for modules