print wurflExport

Creates a WURFL XML file from a wurflResultSet, optionally creating a patch file


Methods

private __construct([$inResultSet = null], [$inBuildPatch = false], [$inUseCustomValues = false])

Creates a new instance of the wurflExport engine

public static getInstance($inResultSet, $inBuildPatch, $inUseCustomValues)

Returns a new instance of wurflExport engine

public static buildHeaderXml()

Returns a block of XML for the head of the WURFL file

public static buildPatchHeaderXml()

Returns a block of XML for the head of the WURFL file

public static buildDeviceOpenXml($oDevice)

Builds the device entry header

public static buildCapabilityXml($oCapabilities, $inUseCustomValues)

Returns a block of XML for the device capabilities

public static buildDeviceCloseXml()

Returns the closing tag for a device

public static buildFooterXML()

Returns the footer XML block

public static buildPatchFooterXML()

Returns the footer XML block

public export()

Exports selected device data to wurfl XML

public setModified([$inStatus = true])

Set $_Modified to $inStatus

public getResultSet()

Returns $_ResultSet

public setResultSet($inResultSet)

Set $_ResultSet to $inResultSet

public getBuildPatchFile()

Return BuildPatchFile

public setBuildPatchFile($inBuildPatchFile)

Set $_BuildPatchFile to $inBuildPatchFile

public getUseCustomValues()

Returns $_UseCustomValues

public setUseCustomValues($inUseCustomValues)

Set $_UseCustomValues to $inUseCustomValues

public getXml()

Returns $_Xml

public setXml($inXml)

Set $_Xml to $inXml

<  1  >