Legend of the Green Dragon

objpref.php

Table of Contents

module_delete_objprefs()  : mixed
Delete all objtype for objid.
get_module_objpref()  : mixed
Get value for a setting for a module, objtype and objid.
set_module_objpref()  : mixed
Set value for a setting for a module, objtype and objid.
increment_module_objpref()  : mixed
Increment value for a setting for a module, objtype and objid.
load_module_objpref()  : array<string|int, mixed>
Load objpref of a module.

Functions

module_delete_objprefs()

Delete all objtype for objid.

module_delete_objprefs(string $objtype, int $objid) : mixed
Parameters
$objtype : string
$objid : int

get_module_objpref()

Get value for a setting for a module, objtype and objid.

get_module_objpref(string $objtype, int $objid, string $name[, string $module = false ]) : mixed
Parameters
$objtype : string
$objid : int
$name : string
$module : string = false

set_module_objpref()

Set value for a setting for a module, objtype and objid.

set_module_objpref(string $objtype, int $objid, string $name, mixed $value[, string $module = false ]) : mixed
Parameters
$objtype : string
$objid : int
$name : string
$value : mixed
$module : string = false

increment_module_objpref()

Increment value for a setting for a module, objtype and objid.

increment_module_objpref(string $objtype, int $objid, string $name[, float|int $value = 1 ][, string $module = false ]) : mixed
Parameters
$objtype : string
$objid : int
$name : string
$value : float|int = 1
$module : string = false

load_module_objpref()

Load objpref of a module.

load_module_objpref(string $objtype, int $objid[, string $module = false ]) : array<string|int, mixed>
Parameters
$objtype : string
$objid : int
$module : string = false

Search results