vB_BbCode
in package
implements
vB_Interface_BBCode
Uses
vB_Trait_NoSerialize
AbstractYes
Table of Contents
Interfaces
Constants
- TYPE = 'BbCode'
- USES_DATA_STORAGE = \false
Methods
- __get() : mixed
- __isset() : bool
- __serialize() : array<string|int, mixed>
- __set() : void
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- canHandleBbCode() : bool
- determineClassname() : string|null
- generateFreshFromDataAndOption() : static
- getCanonicalClassname() : mixed
- getHash() : string
- getInsertData() : mixed
- getType() : string
- renderBbCode() : string
- restoreFromDBRecord() : vB_BbCode
- setRecord() : void
- setRenderOptionsAndContext() : void
- Set render options & context
- setUserContext() : void
Constants
TYPE
public
mixed
TYPE
= 'BbCode'
USES_DATA_STORAGE
public
mixed
USES_DATA_STORAGE
= \false
Methods
__get()
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
bool__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__set()
public
__set(string $name, mixed $value) : void
Parameters
- $name : string
- $value : 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
canHandleBbCode()
public
abstract canHandleBbCode(string $data, string|null $option) : bool
Parameters
- $data : string
- $option : string|null
Return values
booldetermineClassname()
public
final static determineClassname(mixed $type) : string|null
Parameters
- $type : mixed
Return values
string|nullgenerateFreshFromDataAndOption()
public
abstract static generateFreshFromDataAndOption(vB_BbCodeHelper $bbCodeHelper, string $data, string|null $option) : static
Parameters
- $bbCodeHelper : vB_BbCodeHelper
- $data : string
- $option : string|null
Return values
staticgetCanonicalClassname()
public
final static getCanonicalClassname() : mixed
getHash()
public
abstract static getHash(vB_BbCodeHelper $bbCodeHelper, string $data, string|null $option) : string
Parameters
- $bbCodeHelper : vB_BbCodeHelper
- $data : string
- $option : string|null
Return values
stringgetInsertData()
public
final getInsertData() : mixed
getType()
public
final static getType() : string
Return values
stringrenderBbCode()
public
abstract renderBbCode(string $data, string|null $option) : string
Parameters
- $data : string
- $option : string|null
Return values
stringrestoreFromDBRecord()
public
static restoreFromDBRecord(vB_BbCodeHelper $bbcodeHelper, mixed $dbrecord) : vB_BbCode
Parameters
- $bbcodeHelper : vB_BbCodeHelper
- $dbrecord : mixed
Return values
vB_BbCodesetRecord()
public
final setRecord(array<string|int, mixed> $record[, bool $modified = false ]) : void
Parameters
- $record : array<string|int, mixed>
- $modified : bool = false
setRenderOptionsAndContext()
Set render options & context
public
setRenderOptionsAndContext(array<string|int, mixed> $renderOptions, array<string|int, mixed> $renderContext) : void
Parameters
- $renderOptions : array<string|int, mixed>
- $renderContext : array<string|int, mixed>
setUserContext()
public
final setUserContext(vB_UserContext|null $usercontext) : void
Parameters
- $usercontext : vB_UserContext|null