|
| | __construct ($id=null) |
| |
| | load ($id) |
| |
| | store () |
| |
| | delete () |
| |
| | getContent ($format='s', $c_type='t') |
| |
| | buildBlock () |
| |
| | buildContent ($position, $content='', $contentdb='') |
| |
| | buildTitle ($originaltitle, $newtitle='') |
| |
| | isCustom () |
| |
| | getOptions () |
| |
| | getAllBlocks ($rettype='object', $side=null, $visible=null, $orderby='side, weight, bid', $isactive=1) |
| |
| | getAllByGroupModule ($groupid, $module_id=0, $toponlyblock=false, $visible=null, $orderby='b.weight, m.block_id', $isactive=1) |
| |
| | getNonGroupedBlocks ($module_id=0, $toponlyblock=false, $visible=null, $orderby='b.weight, m.block_id', $isactive=1) |
| |
| | countSimilarBlocks ($moduleId, $funcNum, $showFunc=null) |
| |
| | __construct ($id=null) |
| |
| | id ($format='n') |
| |
| | bid ($format='') |
| |
| | mid ($format='') |
| |
| | func_num ($format='') |
| |
| | options ($format='') |
| |
| | name ($format='') |
| |
| | title ($format='') |
| |
| | content ($format='') |
| |
| | side ($format='') |
| |
| | weight ($format='') |
| |
| | visible ($format='') |
| |
| | block_type ($format='') |
| |
| | c_type ($format='') |
| |
| | isactive ($format='') |
| |
| | dirname ($format='') |
| |
| | func_file ($format='') |
| |
| | show_func ($format='') |
| |
| | edit_func ($format='') |
| |
| | template ($format='') |
| |
| | bcachetime ($format='') |
| |
| | last_modified ($format='') |
| |
| | getContent ($format='s', $c_type='T') |
| |
| | getOptions () |
| |
| | isCustom () |
| |
| | __construct () |
| |
| | XoopsObject () |
| |
| | setNew () |
| |
| | unsetNew () |
| |
| | isNew () |
| |
| | setDirty () |
| |
| | unsetDirty () |
| |
| | isDirty () |
| |
| | initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options='', $enumerations='') |
| |
| | assignVar ($key, $value) |
| |
| | assignVars ($var_arr) |
| |
| | setVar ($key, $value, $not_gpc=false) |
| |
| | setVars ($var_arr, $not_gpc=false) |
| |
| | destroyVars ($var) |
| |
| | destoryVars ($var) |
| |
| | setFormVars ($var_arr=null, $pref='xo_', $not_gpc=false) |
| |
| & | getVars () |
| |
| | getValues ($keys=null, $format='s', $maxDepth=1) |
| |
| | getVar ($key, $format='s') |
| |
| | cleanVars () |
| |
| | registerFilter ($filtername) |
| |
| | _loadFilters () |
| |
| | loadFilters ($method) |
| |
| | xoopsClone () |
| |
| | __clone () |
| |
| | setErrors ($err_str) |
| |
| | getErrors () |
| |
| | getHtmlErrors () |
| |
| | toArray () |
| |
◆ __construct() [1/2]
| __construct |
( |
|
$id = null | ) |
|
◆ __construct() [2/2]
| __construct |
( |
|
$id = null | ) |
|
◆ bcachetime()
| bcachetime |
( |
|
$format = '' | ) |
|
Returns Class Base Variable avatar_id
- Paramètres
-
- Renvoie
- mixed
◆ bid()
Returns Class Base Variable bid
- Paramètres
-
- Renvoie
- mixed
◆ block_type()
| block_type |
( |
|
$format = '' | ) |
|
Returns Class Base Variable block_type
- Paramètres
-
- Renvoie
- mixed
◆ buildBlock()
Build Block
- Renvoie
- unknown
◆ buildContent()
| buildContent |
( |
|
$position, |
|
|
|
$content = '', |
|
|
|
$contentdb = '' |
|
) |
| |
- Paramètres
-
| $position | |
| string | $content | |
| string | $contentdb | |
- Renvoie
- string
◆ buildTitle()
| buildTitle |
( |
|
$originaltitle, |
|
|
|
$newtitle = '' |
|
) |
| |
Enter description here...
- Paramètres
-
| string | $originaltitle | |
| string | $newtitle | |
- Renvoie
- string title
◆ c_type()
Returns Class Base Variable c_type
- Paramètres
-
- Renvoie
- mixed
◆ content()
Returns Class Base Variable content
- Paramètres
-
- Renvoie
- mixed
◆ countSimilarBlocks()
| countSimilarBlocks |
( |
|
$moduleId, |
|
|
|
$funcNum, |
|
|
|
$showFunc = null |
|
) |
| |
◆ delete()
Delete a ID from the database
- Renvoie
- bool
◆ dirname()
Returns Class Base Variable dirname
- Paramètres
-
- Renvoie
- mixed
◆ edit_func()
| edit_func |
( |
|
$format = '' | ) |
|
Returns Class Base Variable edit_func
- Paramètres
-
- Renvoie
- mixed
◆ func_file()
| func_file |
( |
|
$format = '' | ) |
|
Returns Class Base Variable func_file
- Paramètres
-
- Renvoie
- mixed
◆ func_num()
Returns Class Base Variable func_num
- Paramètres
-
- Renvoie
- mixed
◆ getAllBlocks()
| getAllBlocks |
( |
|
$rettype = 'object', |
|
|
|
$side = null, |
|
|
|
$visible = null, |
|
|
|
$orderby = 'side, |
|
|
weight |
, |
|
|
bid' |
, |
|
|
|
$isactive = 1 |
|
) |
| |
◆ getAllBlocksByGroup()
| static getAllBlocksByGroup |
( |
|
$groupid, |
|
|
|
$asobject = true, |
|
|
|
$side = null, |
|
|
|
$visible = null, |
|
|
|
$orderby = 'b.weight, |
|
|
b.bid' |
, |
|
|
|
$isactive = 1 |
|
) |
| |
|
static |
get all the blocks that match the supplied parameters
- Paramètres
-
| int | array | $groupid | groupid (can be an array) |
| bool | $asobject | |
| null | string | $side | 0: sideblock - left 1: sideblock - right 2: sideblock - left and right 3: centerblock - left 4: centerblock - right 5: centerblock - center 6: centerblock - left, right, center |
| $visible | 0: not visible 1: visible |
| string | $orderby | order of the blocks |
| int | $isactive | |
- Renvoie
- array of block objects
◆ getAllByGroupModule()
| getAllByGroupModule |
( |
|
$groupid, |
|
|
|
$module_id = 0, |
|
|
|
$toponlyblock = false, |
|
|
|
$visible = null, |
|
|
|
$orderby = 'b.weight, |
|
|
m.block_id' |
, |
|
|
|
$isactive = 1 |
|
) |
| |
◆ getByModule()
| static getByModule |
( |
|
$moduleid, |
|
|
|
$asobject = true |
|
) |
| |
|
static |
◆ getContent() [1/2]
| getContent |
( |
|
$format = 's', |
|
|
|
$c_type = 't' |
|
) |
| |
do stripslashes/htmlspecialchars according to the needed output
- Paramètres
-
| string | $format | output use: 's' for Show and 'e' for Edit |
| string | $c_type | type of block content |
- Renvoie
- string
Réimplémentée dans SystemBlock.
◆ getContent() [2/2]
| getContent |
( |
|
$format = 's', |
|
|
|
$c_type = 'T' |
|
) |
| |
return the content of the block for output
- Paramètres
-
| string | $format | |
| string | $c_type | type of content
Legal value for the type of content
-
H : custom HTML block
-
P : custom PHP block
-
S : use text sanitizater (smilies enabled)
-
T : use text sanitizater (smilies disabled)
|
- Renvoie
- string content for output
Réimplémentée dans SystemBlock.
◆ getNonGroupedBlocks()
| getNonGroupedBlocks |
( |
|
$module_id = 0, |
|
|
|
$toponlyblock = false, |
|
|
|
$visible = null, |
|
|
|
$orderby = 'b.weight, |
|
|
m.block_id' |
, |
|
|
|
$isactive = 1 |
|
) |
| |
◆ getOptions() [1/2]
◆ getOptions() [2/2]
(HTML-) form for setting the options of the block
- Renvoie
- string HTML for the form, FALSE if not defined for this block
Réimplémentée dans SystemBlock.
◆ id()
Returns Class Base Variable bid
- Paramètres
-
- Renvoie
- mixed
◆ isactive()
Returns Class Base Variable isactive
- Paramètres
-
- Renvoie
- mixed
◆ isCustom() [1/2]
◆ isCustom() [2/2]
◆ last_modified()
| last_modified |
( |
|
$format = '' | ) |
|
Returns Class Base Variable last_modified
- Paramètres
-
- Renvoie
- mixed
◆ load()
◆ mid()
Returns Class Base Variable mid
- Paramètres
-
- Renvoie
- mixed
◆ name()
Returns Class Base Variable name
- Paramètres
-
- Renvoie
- mixed
◆ options()
Returns Class Base Variable avatar_id
- Paramètres
-
- Renvoie
- mixed
◆ show_func()
| show_func |
( |
|
$format = '' | ) |
|
Returns Class Base Variable show_func
- Paramètres
-
- Renvoie
- mixed
◆ side()
Returns Class Base Variable side
- Paramètres
-
- Renvoie
- mixed
◆ store()
Store Block Data to Database
- Renvoie
- int $id
◆ template()
Returns Class Base Variable template
- Paramètres
-
- Renvoie
- mixed
◆ title()
Returns Class Base Variable title
- Paramètres
-
- Renvoie
- mixed
◆ visible()
Returns Class Base Variable visible
- Paramètres
-
- Renvoie
- mixed
◆ weight()
Returns Class Base Variable weight
- Paramètres
-
- Renvoie
- mixed
◆ $db
La documentation de cette classe a été générée à partir des fichiers suivants :