public function loadSetupFile($path)
	{
		$result = false;

		if ($path)
		{
			if (!file_exists($path))
			{
				return $result;
			}

			$xml = simplexml_load_file($path);

			if ($params = $xml->params)
			{
				foreach ($params as $param)
				{
					$this->setXML($param);
					$result = true;
				}
			}
		}
		else
		{
			$result = true;
		}

		return $result;
	}
public function loadSetupFile($path)
	{
		$result = false;

		if ($path)
		{
			if (!file_exists($path))
			{
				return $result;
			}

			$xml = simplexml_load_file($path);

			if ($params = $xml->params)
			{
				foreach ($params as $param)
				{
					$this->setXML($param);
					$result = true;
				}
			}
		}
		else
		{
			$result = true;
		}

		return $result;
	}
public function loadSetupFile ( $ path ) { $ result = false ; if ( $ path ) { if ( ! file_exists ( $ path ) ) { return $ result ; } $ xml = simplexml_load_file ( $ path ) ; if ( $ params = $ xml -> params ) { foreach ( $ params as $ param ) { $ this -> setXML ( $ param ) ; $ result = true ; } } } else { $ result = true ; } return $ result ; }
Loads an XML setup file and parses it.

@param   string  $path  A path to the XML setup file.
@return  object
Loads an XML setup file and parses it .