XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
SystemBlock Class Reference
Inheritance diagram for SystemBlock:
Inheritance graph

Public Member Functions

 __construct ()
 
 getContent ($format= 's', $c_type= 'T')
 
 getForm ($mode='edit')
 
 getOptions ()
 
 isCustom ()
 
- Public Member Functions inherited from XoopsBlock
 bcachetime ($format= '')
 
 bid ($format= '')
 
 block_type ($format= '')
 
 buildBlock ()
 
 buildContent ($position, $content="", $contentdb="")
 
 buildTitle ($originaltitle, $newtitle= '')
 
 c_type ($format= '')
 
 content ($format= '')
 
 countSimilarBlocks ($moduleId, $funcNum, $showFunc=null)
 
 delete ()
 
 dirname ($format= '')
 
 edit_func ($format= '')
 
 func_file ($format= '')
 
 func_num ($format= '')
 
 getAllBlocks ($rettype="object", $side=null, $visible=null, $orderby="side,weight,bid", $isactive=1)
 
 getAllBlocksByGroup ($groupid, $asobject=true, $side=null, $visible=null, $orderby="b.weight,b.bid", $isactive=1)
 
 getAllByGroupModule ($groupid, $module_id=0, $toponlyblock=false, $visible=null, $orderby= 'b.weight, m.block_id', $isactive=1)
 
 getByModule ($moduleid, $asobject=true)
 
 getContent ($format= 's', $c_type= 't')
 
 getContent ($format= 's', $c_type= 'T')
 
 getNonGroupedBlocks ($module_id=0, $toponlyblock=false, $visible=null, $orderby= 'b.weight, m.block_id', $isactive=1)
 
 getOptions ()
 
 getOptions ()
 
 id ($format= 'n')
 
 isactive ($format= '')
 
 isCustom ()
 
 isCustom ()
 
 last_modified ($format= '')
 
 load ($id)
 
 mid ($format= '')
 
 name ($format= '')
 
 options ($format= '')
 
 show_func ($format= '')
 
 side ($format= '')
 
 store ()
 
 template ($format= '')
 
 title ($format= '')
 
 visible ($format= '')
 
 weight ($format= '')
 
 XoopsBlock ($id=null)
 
 XoopsBlock ($id=null)
 
- Public Member Functions inherited from XoopsObject
 _loadFilters ()
 
 assignVar ($key, $value)
 
 assignVars ($var_arr)
 
 cleanVars ()
 
 destoryVars ($var)
 
 getErrors ()
 
 getHtmlErrors ()
 
 getValues ($keys=null, $format= 's', $maxDepth=1)
 
 getVar ($key, $format= 's')
 
getVars ()
 
 initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options= '', $enumerations= '')
 
 isDirty ()
 
 isNew ()
 
 loadFilters ($method)
 
 registerFilter ($filtername)
 
 setDirty ()
 
 setErrors ($err_str)
 
 setFormVars ($var_arr=null, $pref= 'xo_', $not_gpc=false)
 
 setNew ()
 
 setVar ($key, $value, $not_gpc=false)
 
 setVars ($var_arr, $not_gpc=false)
 
 toArray ()
 
 unsetDirty ()
 
 unsetNew ()
 
xoopsClone ()
 
 XoopsObject ()
 

Additional Inherited Members

- Public Attributes inherited from XoopsBlock
 $db
 

Detailed Description

Definition at line 27 of file block.php.

Constructor & Destructor Documentation

SystemBlock::__construct ( )

Definition at line 29 of file block.php.

Member Function Documentation

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

do stripslashes/htmlspecialchars according to the needed output

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

Definition at line 232 of file block.php.

References $content, $myts, and MyTextSanitizer\getInstance().

Here is the call graph for this function:

SystemBlock::getOptions ( )

XoopsBlock::getOptions()

Returns

Definition at line 190 of file block.php.

References $file, $GLOBALS, $options, and $xoopsConfig.

SystemBlock::isCustom ( )

Definition at line 219 of file block.php.


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