PHP Class Swiftriver\Core\Configuration\ConfigurationHandlers\BaseConfigurationHandler

Author: mg[at]swiftly[dot]org
Mostrar archivo Open project: ushahidi/Swiftriver-2011

Public Methods

Method Description
SaveOpenConfigurationFile ( string $filePath, string $collectionElement ) : SimpleXMLElement Given the file path and then name of the collection element, this function will open the xml config file if it already exists or will create an empty file and then open it if it dosent.

Method Details

SaveOpenConfigurationFile() public method

Given the file path and then name of the collection element, this function will open the xml config file if it already exists or will create an empty file and then open it if it dosent.
public SaveOpenConfigurationFile ( string $filePath, string $collectionElement ) : SimpleXMLElement
$filePath string
$collectionElement string
return SimpleXMLElement