vBulletin 5.6.5 API

vB_Library_VB4_Functions extends vB_Library
in package

vB_Library_VB4_Functions

Tags
access

public

Table of Contents

$baseurl_corecdn  : mixed
$instance  : mixed
__serialize()  : mixed
__sleep()  : mixed
__unserialize()  : mixed
__wakeup()  : mixed
avatarUrl()  : mixed
clearCache()  : mixed
filterUserInfo()  : mixed
getBlockedUsers()  : mixed
getContentInstance()  : mixed
getErrorResponse()  : mixed
getGlobalBlogCategories()  : mixed
getLocalBlogCategories()  : mixed
getParsedSignature()  : mixed
getPrefixes()  : mixed
getPrefixTitle()  : mixed
getPreview()  : mixed
getUsersBlogChannel()  : mixed
getUsersPostPerPage()  : mixed
[Resolves -1 and 0 as perpage values for users]
instance()  : vB_PageCache
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.
pageNav()  : mixed
parseArticle()  : mixed
parseArticleComment()  : mixed
parseArticleSearch()  : mixed
parseAttachments()  : mixed
parseBlogComment()  : mixed
parseBlogEntry()  : mixed
parseBlogEntrySearch()  : mixed
parseBlogHeader()  : mixed
parseForum()  : mixed
parseForumInfo()  : mixed
parsePost()  : mixed
parseThread()  : mixed
parseThreadInfo()  : mixed
safeBuildUrl()  : mixed
__construct()  : mixed
getLibraryClassNameInternal()  : mixed
parseGallery()  : array<string|int, mixed>
Creates the "gallery" bits for a gallery post.
parseLinkAndVideo()  : array<string|int, mixed>
Creates the "link_attachment" bits for a link or video post
parsePoll()  : array<string|int, mixed>
Creates the "poll" bits for a poll
separateGalleryPhotosFromAttachment()  : mixed
buildMessagePlain()  : mixed
getBaseUrlCoreCdn()  : mixed
parseBBCode()  : mixed
parseEvent()  : array<string|int, mixed>
Creates the "event" bits for a vbforum_event post.

Properties

$baseurl_corecdn

protected mixed $baseurl_corecdn = ull

$instance

protected static mixed $instance = array()

Methods

__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

avatarUrl()

public avatarUrl(mixed $userid) : mixed
Parameters
$userid : mixed
Return values
mixed

clearCache()

public static clearCache() : mixed
Return values
mixed

filterUserInfo()

public filterUserInfo(mixed $userinfo) : mixed
Parameters
$userinfo : mixed
Return values
mixed

getBlockedUsers()

public getBlockedUsers() : mixed
Return values
mixed

getContentInstance()

public static getContentInstance(mixed $contenttypeid) : mixed
Parameters
$contenttypeid : mixed
Return values
mixed

getErrorResponse()

public getErrorResponse(mixed $result) : mixed
Parameters
$result : mixed
Return values
mixed

getGlobalBlogCategories()

public getGlobalBlogCategories() : mixed
Return values
mixed

getLocalBlogCategories()

public getLocalBlogCategories(mixed $userid) : mixed
Parameters
$userid : mixed
Return values
mixed

getParsedSignature()

public getParsedSignature(mixed $userid[, mixed $signature = '' ]) : mixed
Parameters
$userid : mixed
$signature : mixed = ''
Return values
mixed

getPrefixes()

public getPrefixes(mixed $channel) : mixed
Parameters
$channel : mixed
Return values
mixed

getPrefixTitle()

public getPrefixTitle(mixed $prefixid) : mixed
Parameters
$prefixid : mixed
Return values
mixed

getPreview()

public getPreview(mixed $text[, mixed $length = 100 ]) : mixed
Parameters
$text : mixed
$length : mixed = 100
Return values
mixed

getUsersBlogChannel()

public getUsersBlogChannel() : mixed
Return values
mixed

getUsersPostPerPage()

[Resolves -1 and 0 as perpage values for users]

public getUsersPostPerPage(mixed $perpage) : mixed
Parameters
$perpage : mixed
Return values
mixed

instance()

Returns singleton instance of self.

public static instance(mixed $class) : vB_PageCache
Parameters
$class : mixed
Return values
vB_PageCache
  • Reference to singleton instance of the cache handler

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) : mixed
Parameters
$text : mixed
$type : mixed
$nodeid : mixed
$userid : mixed = null
$insertNotifications : mixed = true
$currentuserid : mixed
Return values
mixed

pageNav()

public pageNav(mixed $pagenumber, mixed $perpage, mixed $results) : mixed
Parameters
$pagenumber : mixed
$perpage : mixed
$results : mixed
Return values
mixed

parseArticle()

public parseArticle(mixed $node[, mixed $page = 1 ]) : mixed
Parameters
$node : mixed
$page : mixed = 1
Return values
mixed

parseArticleComment()

public parseArticleComment(mixed $commentNode) : mixed
Parameters
$commentNode : mixed
Return values
mixed

parseArticleSearch()

public parseArticleSearch(mixed $node, mixed $parent) : mixed
Parameters
$node : mixed
$parent : mixed
Return values
mixed

parseAttachments()

public parseAttachments(mixed $attaches) : mixed
Parameters
$attaches : mixed
Return values
mixed

parseBlogComment()

public parseBlogComment(mixed $node) : mixed
Parameters
$node : mixed
Return values
mixed

parseBlogEntry()

public parseBlogEntry(mixed $node) : mixed
Parameters
$node : mixed
Return values
mixed

parseBlogEntrySearch()

public parseBlogEntrySearch(mixed $node) : mixed
Parameters
$node : mixed
Return values
mixed

parseBlogHeader()

public parseBlogHeader(mixed $node) : mixed
Parameters
$node : mixed
Return values
mixed

parseForum()

public parseForum(mixed $node) : mixed
Parameters
$node : mixed
Return values
mixed

parseForumInfo()

public parseForumInfo(mixed $node) : mixed
Parameters
$node : mixed
Return values
mixed

parsePost()

public parsePost(mixed $node) : mixed
Parameters
$node : mixed
Return values
mixed

parseThread()

public parseThread(mixed $node) : mixed
Parameters
$node : mixed
Return values
mixed

parseThreadInfo()

public parseThreadInfo(mixed $node) : mixed
Parameters
$node : mixed
Return values
mixed

safeBuildUrl()

public safeBuildUrl(mixed $routeid, mixed $routeData) : mixed
Parameters
$routeid : mixed
$routeData : mixed
Return values
mixed

__construct()

protected __construct() : mixed
Return values
mixed

getLibraryClassNameInternal()

protected static getLibraryClassNameInternal(mixed $controller) : mixed
Parameters
$controller : mixed
Return values
mixed

parseGallery()

Creates the "gallery" bits for a gallery post.

protected parseGallery(array<string|int, mixed> $node, array<string|int, mixed> $publicAttachDataArray) : array<string|int, mixed>
Parameters
$node : array<string|int, mixed>

node content array, must have content.photo

$publicAttachDataArray : array<string|int, mixed>

Array created by separateGalleryPhotosFromAttachment()

Tags
access

protected

Return values
array<string|int, mixed>

"gallery" array used by mobile app

parseLinkAndVideo()

Creates the "link_attachment" bits for a link or video post

protected parseLinkAndVideo(array<string|int, mixed> $node) : array<string|int, mixed>
Parameters
$node : array<string|int, mixed>

node content array, must have content.url, .url_title & .url_meta, and optionally filedataid (link) OR thumburl (video)

Tags
access

protected

Return values
array<string|int, mixed>

"link_attachment" array used by mobile app

parsePoll()

Creates the "poll" bits for a poll

protected parsePoll(array<string|int, mixed> $node) : array<string|int, mixed>
Parameters
$node : array<string|int, mixed>

node content array, must have content.options

Tags
access

protected

Return values
array<string|int, mixed>

"poll" array used by mobile app

separateGalleryPhotosFromAttachment()

protected separateGalleryPhotosFromAttachment(mixed $node) : mixed
Parameters
$node : mixed
Return values
mixed

buildMessagePlain()

private buildMessagePlain(mixed $message) : mixed
Parameters
$message : mixed
Return values
mixed

getBaseUrlCoreCdn()

private getBaseUrlCoreCdn() : mixed
Return values
mixed

parseBBCode()

private parseBBCode(mixed $record[, mixed $bbCodeOptions = array() ]) : mixed
Parameters
$record : mixed
$bbCodeOptions : mixed = array()
Return values
mixed

parseEvent()

Creates the "event" bits for a vbforum_event post.

private parseEvent(array<string|int, mixed> $node) : array<string|int, mixed>
Parameters
$node : array<string|int, mixed>

node content array, must have content.eventstartdate, eventenddate & location

Tags
access

private

Return values
array<string|int, mixed>

"event" array to be saved under the "post" block used by mobile app

Search results