API - XOOPS 2.5.11 Beta 2
By monxoops.fr
SystemBlock Class Reference
Inheritance diagram for SystemBlock:
Collaboration diagram for SystemBlock:

Public Member Functions

 __construct ()
 
 getForm ($mode='edit')
 
 getOptions ()
 
 isCustom ()
 
 getContent ($format='s', $c_type='T')
 
- Public Member Functions inherited from XoopsBlock
 __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)
 
- Public Member Functions inherited from XoopsObject
 __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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from XoopsBlock
static getAllBlocksByGroup ($groupid, $asobject=true, $side=null, $visible=null, $orderby='b.weight, b.bid', $isactive=1)
 
static getByModule ($moduleid, $asobject=true)
 
- Data Fields inherited from XoopsObject
 $vars = array()
 
 $cleanVars = array()
 
 $_isNew = false
 
 $_isDirty = false
 
 $_errors = array()
 
 $_filters = array()
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

constructor

normally, this is called from child classes only

@access public

Reimplemented from XoopsObject.

Member Function Documentation

◆ getContent()

getContent (   $format = 's',
  $c_type = 'T' 
)

do stripslashes/htmlspecialchars according to the needed output

Parameters
string$formatoutput use: S for Show and E for Edit
string$c_typetype of block content
Returns
string

Reimplemented from XoopsBlock.

Here is the call graph for this function:

◆ getForm()

getForm (   $mode = 'edit')
Parameters
string$mode
Returns
XoopsThemeForm
Here is the call graph for this function:

◆ getOptions()

getOptions ( )

XoopsBlock::getOptions()

Returns
bool|string

Reimplemented from XoopsBlock.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isCustom()

isCustom ( )
Returns
bool

Reimplemented from XoopsBlock.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: