vBulletin 5.6.5 API

vB_Stylevar_Mapper
in package
Uses vB_Trait_NoSerialize

Table of Contents

$assertor  : mixed
$custom  : mixed
$dateline  : mixed
$delete  : mixed
$loaded  : mixed
$mapper  : mixed
$mappings  : mixed
$master  : mixed
$masterstyleid  : mixed
$preset  : mixed
$processed  : mixed
$product  : mixed
$productlist  : mixed
$result  : mixed
$styles  : mixed
__construct()  : mixed
__serialize()  : mixed
__sleep()  : mixed
__unserialize()  : mixed
__wakeup()  : mixed
addMapping()  : mixed
addPreset()  : mixed
addStlyevar()  : mixed
deleteStylevar()  : mixed
displayResults()  : mixed
load()  : mixed
process()  : mixed
processResults()  : mixed
removeStylevar()  : mixed
updateInheritance()  : bool
Updates any stylevars that inherit from $oldname to inherit from $newname instead
verifyUnits()  : mixed

Properties

$assertor

public mixed $assertor

$custom

public mixed $custom = array()

$dateline

public mixed $dateline

$delete

public mixed $delete = array()

$loaded

public mixed $loaded = alse

$mapper

public mixed $mapper = array()

$mappings

public mixed $mappings = alse

$master

public mixed $master = array()

$masterstyleid

public mixed $masterstyleid

$preset

public mixed $preset = array()

$processed

public mixed $processed = alse

$product

public mixed $product = array()

$productlist

public mixed $productlist = array()

$result

public mixed $result = array()

$styles

public mixed $styles = array()

Methods

__construct()

public __construct([mixed $masterstyleid = -1 ]) : mixed
Parameters
$masterstyleid : mixed = -1
Return values
mixed

__serialize()

public __serialize() : mixed
Return values
mixed

__sleep()

public __sleep() : mixed
Return values
mixed

__unserialize()

public __unserialize(mixed $serialized) : mixed
Parameters
$serialized : mixed
Return values
mixed

__wakeup()

public __wakeup() : mixed
Return values
mixed

addMapping()

public addMapping(mixed $mapfrom, mixed $mapto[, mixed $product = 'vbulletin' ][, mixed $delete = false ]) : mixed
Parameters
$mapfrom : mixed
$mapto : mixed
$product : mixed = 'vbulletin'
$delete : mixed = false
Return values
mixed

addPreset()

public addPreset(mixed $mapto, mixed $value[, mixed $forced = true ][, mixed $verify = '' ]) : mixed
Parameters
$mapto : mixed
$value : mixed
$forced : mixed = true
$verify : mixed = ''
Return values
mixed

addStlyevar()

public addStlyevar(mixed $stylevar, mixed $style, mixed $data, mixed $time[, mixed $user = 'SV-Mapper' ]) : mixed
Parameters
$stylevar : mixed
$style : mixed
$data : mixed
$time : mixed
$user : mixed = 'SV-Mapper'
Return values
mixed

deleteStylevar()

public deleteStylevar(mixed $stylevar) : mixed
Parameters
$stylevar : mixed
Return values
mixed

displayResults()

public displayResults([mixed $stop = false ]) : mixed
Parameters
$stop : mixed = false
Return values
mixed

load()

public load() : mixed
Return values
mixed

process()

public process() : mixed
Return values
mixed

processResults()

public processResults() : mixed
Return values
mixed

removeStylevar()

public removeStylevar(mixed $stylevar) : mixed
Parameters
$stylevar : mixed
Return values
mixed

updateInheritance()

Updates any stylevars that inherit from $oldname to inherit from $newname instead

public updateInheritance(mixed $oldname, mixed $newname) : bool

NOTE: This works mostly separate from stylevar mapping, since when you map from one stylevar to another, you're not necessary renaming it to the new one... you might be merely sourcing the value of one to populate the other. If you're actually renaming a stylevar, and the old one won't be used anymore, that's when you call this function. This should be called after doing the regular mapping.

Parameters
$oldname : mixed
$newname : mixed
Return values
bool

True if anything was updated, false otherwise.

verifyUnits()

public verifyUnits(mixed $unit) : mixed
Parameters
$unit : mixed
Return values
mixed

Search results