vBulletin v6.0.4

vB_Library_NodeField extends vB_Library
in package

vB_Library

Table of Contents

Methods

__serialize()  : array<string|int, mixed>
__sleep()  : array<string|int, mixed>
__unserialize()  : void
__wakeup()  : void
clearCache()  : mixed
deleteCategory()  : mixed
deleteField()  : mixed
getCategory()  : array<string|int, mixed>
Get a category
getCategoryInternal()  : mixed
getCategoryList()  : array<string|int, mixed>
Get the list of categories
getContentInstance()  : mixed
getField()  : mixed
getFieldList()  : mixed
getFieldsForChannel()  : mixed
getFieldsForNode()  : mixed
getFieldValues()  : mixed
getFieldValuesForDisplay()  : 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.
removeFieldValue()  : mixed
saveCategory()  : int
Save a category value.
saveField()  : mixed
saveFieldValues()  : 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>

clearCache()

public static clearCache() : mixed

deleteCategory()

public deleteCategory(mixed $categoryid) : mixed
Parameters
$categoryid : mixed

deleteField()

public deleteField(mixed $fieldid) : mixed
Parameters
$fieldid : mixed

getCategory()

Get a category

public getCategory(int $categoryid) : array<string|int, mixed>
Parameters
$categoryid : int
Return values
array<string|int, mixed>

getCategoryInternal()

public getCategoryInternal(mixed $categoryid) : mixed
Parameters
$categoryid : mixed

getCategoryList()

Get the list of categories

public getCategoryList() : array<string|int, mixed>
Return values
array<string|int, mixed>

-- array of category arrays

getContentInstance()

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

getField()

public getField(mixed $fieldid) : mixed
Parameters
$fieldid : mixed

getFieldList()

public getFieldList([mixed $categoryid = null ]) : mixed
Parameters
$categoryid : mixed = null

getFieldsForChannel()

public getFieldsForChannel(mixed $channelid) : mixed
Parameters
$channelid : mixed

getFieldsForNode()

public getFieldsForNode(mixed $nodeid) : mixed
Parameters
$nodeid : mixed

getFieldValues()

public getFieldValues(mixed $nodeid) : mixed
Parameters
$nodeid : mixed

getFieldValuesForDisplay()

public getFieldValuesForDisplay(mixed $nodeid) : mixed
Parameters
$nodeid : 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
Parameters
$text : mixed
$type : mixed
$nodeid : mixed
$userid : mixed = null
$insertNotifications : mixed = true
$currentuserid : mixed = 0
Tags
deprecated

use the functions from the notification library directly.

removeFieldValue()

public removeFieldValue(mixed $nodeid, mixed $fieldid) : mixed
Parameters
$nodeid : mixed
$fieldid : mixed

saveCategory()

Save a category value.

public saveCategory(array<string|int, mixed> $data) : int
Parameters
$data : array<string|int, mixed>

-- int nodefieldcategoryid -- optional. If provided will update the category string title -- the name of the category

Return values
int

-- the id of the saved category.

saveField()

public saveField(mixed $data) : mixed
Parameters
$data : mixed

saveFieldValues()

public saveFieldValues(mixed $nodeid, mixed $values) : mixed
Parameters
$nodeid : mixed
$values : mixed

        
On this page

Search results