vB_BbCode_Url
extends vB_BbCode
in package
Table of Contents
Constants
- TYPE = 'Url'
- USES_DATA_STORAGE = \true
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
= 'Url'
USES_DATA_STORAGE
public
mixed
USES_DATA_STORAGE
= \true
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
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
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
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
renderBbCode(mixed $data, mixed $option) : string
Parameters
- $data : mixed
- $option : mixed
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