vB_Xml_Export
in package
Uses
vB_Trait_NoSerialize
AbstractYes
Table of Contents
Methods
- __construct() : mixed
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- createGUID() : mixed
- export() : mixed
- Export objects to the specified filepath
- getXml() : mixed
- If an xml builder is passed it appends the objects. Otherwise, an XML string is returned.
Methods
__construct()
public
__construct([mixed $product = 'vbulletin' ]) : mixed
Parameters
- $product : mixed = 'vbulletin'
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(array<string|int, mixed> $serialized) : void
Parameters
- $serialized : array<string|int, mixed>
__wakeup()
public
__wakeup() : void
createGUID()
public
static createGUID(mixed $record[, mixed $source = 'vbulletin' ]) : mixed
Parameters
- $record : mixed
- $source : mixed = 'vbulletin'
export()
Export objects to the specified filepath
public
export(mixed $filepath[, mixed $overwrite = TRUE ]) : mixed
Parameters
- $filepath : mixed
- $overwrite : mixed = TRUE
getXml()
If an xml builder is passed it appends the objects. Otherwise, an XML string is returned.
public
abstract getXml([vB_XML_Builder &$xml = NULL ]) : mixed
Parameters
- $xml : vB_XML_Builder = NULL