vB_Library_VB4_Functions
extends vB_Library
in package
vB_Library_VB4_Functions
Table of Contents
Methods
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- avatarUrl() : mixed
- bulkExtractUsers() : mixed
- bulkFetchUsers() : mixed
- clearCache() : mixed
- filterUserInfo() : mixed
- getBlockedUsers() : mixed
- getContentInstance() : mixed
- getErrorResponse() : mixed
- getGlobalBlogCategories() : mixed
- getLocalBlogCategories() : mixed
- getNodeAvatar() : mixed
- getNodeUserinfo() : mixed
- getParsedSignature() : mixed
- getPrefixes() : mixed
- getPrefixTitle() : mixed
- getPreview() : mixed
- getThumbsupCount() : mixed
- getUseridUserinfo() : mixed
- getUsersBlogChannel() : mixed
- getUsersPostPerPage() : mixed
- [Resolves -1 and 0 as perpage values for users]
- 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.
- 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
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
avatarUrl()
public
avatarUrl(mixed $userid) : mixed
Parameters
- $userid : mixed
bulkExtractUsers()
public
bulkExtractUsers(mixed $nodeslike[, mixed $withPermChecks = true ]) : mixed
Parameters
- $nodeslike : mixed
- $withPermChecks : mixed = true
bulkFetchUsers()
public
bulkFetchUsers(mixed $userids[, mixed $withPermChecks = true ]) : mixed
Parameters
- $userids : mixed
- $withPermChecks : mixed = true
clearCache()
public
static clearCache() : mixed
filterUserInfo()
public
filterUserInfo(mixed $userinfo) : mixed
Parameters
- $userinfo : mixed
getBlockedUsers()
public
getBlockedUsers() : mixed
getContentInstance()
public
static getContentInstance(mixed $contenttypeid) : mixed
Parameters
- $contenttypeid : mixed
getErrorResponse()
public
getErrorResponse(mixed $result) : mixed
Parameters
- $result : mixed
getGlobalBlogCategories()
public
getGlobalBlogCategories() : mixed
getLocalBlogCategories()
public
getLocalBlogCategories([mixed $userid = 0 ]) : mixed
Parameters
- $userid : mixed = 0
getNodeAvatar()
public
getNodeAvatar(mixed $node) : mixed
Parameters
- $node : mixed
getNodeUserinfo()
public
getNodeUserinfo(mixed $node) : mixed
Parameters
- $node : mixed
getParsedSignature()
public
getParsedSignature(mixed $userid[, mixed $signature = '' ]) : mixed
Parameters
- $userid : mixed
- $signature : mixed = ''
getPrefixes()
public
getPrefixes(mixed $channel) : mixed
Parameters
- $channel : mixed
getPrefixTitle()
public
getPrefixTitle(mixed $prefixid) : mixed
Parameters
- $prefixid : mixed
getPreview()
public
getPreview(mixed $text[, mixed $length = 100 ]) : mixed
Parameters
- $text : mixed
- $length : mixed = 100
getThumbsupCount()
public
getThumbsupCount(mixed $nodeid) : mixed
Parameters
- $nodeid : mixed
Tags
getUseridUserinfo()
public
getUseridUserinfo(mixed $userid) : mixed
Parameters
- $userid : mixed
getUsersBlogChannel()
public
getUsersBlogChannel() : mixed
getUsersPostPerPage()
[Resolves -1 and 0 as perpage values for users]
public
getUsersPostPerPage(mixed $perpage) : mixed
Parameters
- $perpage : mixed
Tags
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
pageNav()
public
pageNav(mixed $pagenumber, mixed $perpage, mixed $results) : mixed
Parameters
- $pagenumber : mixed
- $perpage : mixed
- $results : mixed
parseArticle()
public
parseArticle(mixed $node[, mixed $page = 1 ]) : mixed
Parameters
- $node : mixed
- $page : mixed = 1
parseArticleComment()
public
parseArticleComment(mixed $commentNode) : mixed
Parameters
- $commentNode : mixed
parseArticleSearch()
public
parseArticleSearch(mixed $node, mixed $parent) : mixed
Parameters
- $node : mixed
- $parent : mixed
parseAttachments()
public
parseAttachments(mixed $attaches) : mixed
Parameters
- $attaches : mixed
parseBlogComment()
public
parseBlogComment(mixed $node) : mixed
Parameters
- $node : mixed
parseBlogEntry()
public
parseBlogEntry(mixed $node) : mixed
Parameters
- $node : mixed
parseBlogEntrySearch()
public
parseBlogEntrySearch(mixed $node) : mixed
Parameters
- $node : mixed
parseBlogHeader()
public
parseBlogHeader(mixed $node) : mixed
Parameters
- $node : mixed
parseForum()
public
parseForum(mixed $node) : mixed
Parameters
- $node : mixed
parseForumInfo()
public
parseForumInfo(mixed $node) : mixed
Parameters
- $node : mixed
parsePost()
public
parsePost(mixed $node) : mixed
Parameters
- $node : mixed
parseThread()
public
parseThread(mixed $node) : mixed
Parameters
- $node : mixed
parseThreadInfo()
public
parseThreadInfo(mixed $node) : mixed
Parameters
- $node : mixed
safeBuildUrl()
public
safeBuildUrl(mixed $routeid, mixed $routeData) : mixed
Parameters
- $routeid : mixed
- $routeData : mixed