vB_Library_Route
extends vB_Library
in package
vB_Library
Table of Contents
Constants
- GUID_ARTICLES = 'vbulletin-r-cmshome5229f999bcb705.52472433'
- GUID_BLOGS = 'vbulletin-4ecbdacd6aac05.50909926'
- GUID_HOME = 'vbulletin-4ecbdacd6a4ad0.58738735'
- GUID_HOME_CLASSIC = 'vbulletin-route-homeclassic-5d5f1629cb5297.17711543'
- GUID_HOME_COMMUNITY = 'vbulletin-route-homecommunity-5d6039ff5c14d0.86786683'
- GUID_SOCIALGROUPS = 'vbulletin-4ecbdac93742a5.43676037'
Methods
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- clearCache() : mixed
- getAlwaysAllowedPrefixes() : array<string|int, mixed>
- getContentInstance() : mixed
- getPageViewPermissionExcludedPrefixes() : array<string|int, mixed>
- instance() : static
- Returns singleton instance of self.
- monitorWords() : mixed
- Checks if the text contains monitored words, and if so, sends notifications to admins and moderators if the setting is on.
Constants
GUID_ARTICLES
public
mixed
GUID_ARTICLES
= 'vbulletin-r-cmshome5229f999bcb705.52472433'
GUID_BLOGS
public
mixed
GUID_BLOGS
= 'vbulletin-4ecbdacd6aac05.50909926'
GUID_HOME
public
mixed
GUID_HOME
= 'vbulletin-4ecbdacd6a4ad0.58738735'
GUID_HOME_CLASSIC
public
mixed
GUID_HOME_CLASSIC
= 'vbulletin-route-homeclassic-5d5f1629cb5297.17711543'
GUID_HOME_COMMUNITY
public
mixed
GUID_HOME_COMMUNITY
= 'vbulletin-route-homecommunity-5d6039ff5c14d0.86786683'
GUID_SOCIALGROUPS
public
mixed
GUID_SOCIALGROUPS
= 'vbulletin-4ecbdac93742a5.43676037'
Methods
__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
clearCache()
public
static clearCache() : mixed
getAlwaysAllowedPrefixes()
public
getAlwaysAllowedPrefixes() : array<string|int, mixed>
Return values
array<string|int, mixed>getContentInstance()
public
static getContentInstance(mixed $contenttypeid) : mixed
Parameters
- $contenttypeid : mixed
getPageViewPermissionExcludedPrefixes()
public
getPageViewPermissionExcludedPrefixes() : array<string|int, mixed>
Return values
array<string|int, mixed>instance()
Returns singleton instance of self.
public
static instance(mixed $class) : static
Parameters
- $class : mixed
Return values
static —- Reference to singleton instance of the requested library class
monitorWords()
Checks if the text contains monitored words, and if so, sends notifications to admins and moderators if the setting is on.
public
monitorWords(mixed $text, mixed $type, mixed $nodeid[, mixed $userid = null ][, mixed $insertNotifications = true ][, mixed $currentuserid = 0 ]) : mixed
use the functions from the notification library directly.
Parameters
- $text : mixed
- $type : mixed
- $nodeid : mixed
- $userid : mixed = null
- $insertNotifications : mixed = true
- $currentuserid : mixed = 0