src/AbstractMediawikiObject.php
public function buildParameter(array $params)
	{
		$path = '';

		foreach ($params as $param)
		{
			$path .= $param;

			if (next($params) == true)
			{
				$path .= '|';
			}
		}

		return $path;
	}
public function buildParameter(array $params)
	{
		$path = '';

		foreach ($params as $param)
		{
			$path .= $param;

			if (next($params) == true)
			{
				$path .= '|';
			}
		}

		return $path;
	}
public function buildParameter ( array $ params ) { $ path = '' ; foreach ( $ params as $ param ) { $ path .= $ param ; if ( next ( $ params ) == true ) { $ path .= '|' ; } } return $ path ; }
Method to build request parameters from a string array.

@param   array  $params  string array that contains the parameters

@return  string   request parameter

@since   1.0
Method to build request parameters from a string array .