|
| __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 () |
|
| buildBlock () |
|
| buildContent ($position, $content='', $contentdb='') |
|
| buildTitle ($originaltitle, $newtitle='') |
|
| 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 () |
|
| 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=null) |
|
| cleanVars () |
|
| registerFilter ($filtername) |
|
| _loadFilters () |
|
| loadFilters ($method) |
|
| xoopsClone () |
|
| __clone () |
|
| setErrors ($err_str) |
|
| getErrors () |
|
| getHtmlErrors () |
|
| toArray () |
|
◆ __construct()
__construct |
( |
|
$id = null | ) |
|
◆ bcachetime()
bcachetime |
( |
|
$format = '' | ) |
|
Returns Class Base Variable avatar_id
- Parameters
-
- Returns
- mixed
◆ bid()
Returns Class Base Variable bid
- Parameters
-
- Returns
- mixed
◆ block_type()
block_type |
( |
|
$format = '' | ) |
|
Returns Class Base Variable block_type
Vaild block_type values are: S - generated by system module M - generated by a non-system module C - Custom block D - cloned system/module block E - cloned custom block, DON'T use it
- Parameters
-
- Returns
- mixed
◆ buildBlock()
◆ buildContent()
buildContent |
( |
|
$position, |
|
|
|
$content = '' , |
|
|
|
$contentdb = '' |
|
) |
| |
- Parameters
-
| $position | |
string | $content | |
string | $contentdb | |
- Returns
- string
- Deprecated:
◆ buildTitle()
buildTitle |
( |
|
$originaltitle, |
|
|
|
$newtitle = '' |
|
) |
| |
Enter description here...
- Parameters
-
string | $originaltitle | |
string | $newtitle | |
- Returns
- string title
- Deprecated:
◆ c_type()
Returns Class Base Variable c_type
- Parameters
-
- Returns
- mixed
◆ content()
Returns Class Base Variable content
- Parameters
-
- Returns
- mixed
◆ countSimilarBlocks()
countSimilarBlocks |
( |
|
$moduleId, |
|
|
|
$funcNum, |
|
|
|
$showFunc = null |
|
) |
| |
◆ dirname()
Returns Class Base Variable dirname
- Parameters
-
- Returns
- mixed
◆ edit_func()
edit_func |
( |
|
$format = '' | ) |
|
Returns Class Base Variable edit_func
- Parameters
-
- Returns
- mixed
◆ func_file()
func_file |
( |
|
$format = '' | ) |
|
Returns Class Base Variable func_file
- Parameters
-
- Returns
- mixed
◆ func_num()
Returns Class Base Variable func_num
- Parameters
-
- Returns
- 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
- Parameters
-
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 | |
- Returns
- array of block objects
- Deprecated:
◆ 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()
getContent |
( |
|
$format = 's' , |
|
|
|
$c_type = 'T' |
|
) |
| |
return the content of the block for output
- Parameters
-
string | $format | |
string | $c_type | type of content Valid values for the type of content: H : custom HTML block P : custom PHP block S : use text sanitizer (smilies enabled) T : use text sanitizer (smilies disabled) |
- Returns
- string content for output
Reimplemented in SystemBlock.
◆ getNonGroupedBlocks()
getNonGroupedBlocks |
( |
|
$module_id = 0 , |
|
|
|
$toponlyblock = false , |
|
|
|
$visible = null , |
|
|
|
$orderby = 'b.weight , |
|
|
m.block_id' |
, |
|
|
|
$isactive = 1 |
|
) |
| |
◆ getOptions()
(HTML-) form for setting the options of the block
- Returns
- string HTML for the form, FALSE if not defined for this block
Reimplemented in SystemBlock.
◆ id()
Returns Class Base Variable bid
- Parameters
-
- Returns
- mixed
◆ isactive()
Returns Class Base Variable isactive
- Parameters
-
- Returns
- mixed
◆ isCustom()
◆ last_modified()
last_modified |
( |
|
$format = '' | ) |
|
Returns Class Base Variable last_modified
- Parameters
-
- Returns
- mixed
◆ mid()
Returns Class Base Variable mid
- Parameters
-
- Returns
- mixed
◆ name()
Returns Class Base Variable name
- Parameters
-
- Returns
- mixed
◆ options()
Returns Class Base Variable avatar_id
- Parameters
-
- Returns
- mixed
◆ show_func()
show_func |
( |
|
$format = '' | ) |
|
Returns Class Base Variable show_func
- Parameters
-
- Returns
- mixed
◆ side()
Returns Class Base Variable side
- Parameters
-
- Returns
- mixed
◆ template()
Returns Class Base Variable template
- Parameters
-
- Returns
- mixed
◆ title()
Returns Class Base Variable title
- Parameters
-
- Returns
- mixed
◆ visible()
Returns Class Base Variable visible
- Parameters
-
- Returns
- mixed
◆ weight()
Returns Class Base Variable weight
- Parameters
-
- Returns
- mixed
The documentation for this class was generated from the following file: