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

Public Member Functions

 clearConfOptions ()
 
 conf_catid ($format= '')
 
 conf_desc ($format= '')
 
 conf_formtype ($format= '')
 
 conf_id ($format= '')
 
 conf_modid ($format= '')
 
 conf_name ($format= '')
 
 conf_order ($format= '')
 
 conf_title ($format= '')
 
 conf_value ($format= '')
 
 conf_valuetype ($format= '')
 
getConfOptions ()
 
 getConfValueForOutput ()
 
 id ($format= 'N')
 
 setConfOptions ($option)
 
 setConfValueForInput (&$value, $force_slash=false)
 
 XoopsConfigItem ()
 
- 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 ()
 

Public Attributes

 $_confOptions = array()
 
- Public Attributes inherited from XoopsObject
 $_errors = array()
 
 $_filters = array()
 
 $_isDirty = false
 
 $_isNew = false
 
 $cleanVars = array()
 
 $vars = array()
 

Detailed Description

#@-

Author
Kazumi Ono onoka.nosp@m.zu@x.nosp@m.oops..nosp@m.org

Definition at line 39 of file configitem.php.

Member Function Documentation

XoopsConfigItem::clearConfOptions ( )

Clear options from this item

Returns
void

Definition at line 239 of file configitem.php.

XoopsConfigItem::conf_catid (   $format = '')

Returns Class Base Variable conf_catid

Definition at line 94 of file configitem.php.

XoopsConfigItem::conf_desc (   $format = '')

Returns Class Base Variable conf_desc

Definition at line 126 of file configitem.php.

XoopsConfigItem::conf_formtype (   $format = '')

Returns Class Base Variable conf_formtype

Definition at line 134 of file configitem.php.

XoopsConfigItem::conf_id (   $format = '')

Returns Class Base Variable conf_id

Definition at line 78 of file configitem.php.

XoopsConfigItem::conf_modid (   $format = '')

Returns Class Base Variable conf_modid

Definition at line 86 of file configitem.php.

XoopsConfigItem::conf_name (   $format = '')

Returns Class Base Variable conf_name

Definition at line 102 of file configitem.php.

XoopsConfigItem::conf_order (   $format = '')

Returns Class Base Variable conf_order

Definition at line 150 of file configitem.php.

XoopsConfigItem::conf_title (   $format = '')

Returns Class Base Variable conf_title

Definition at line 110 of file configitem.php.

XoopsConfigItem::conf_value (   $format = '')

Returns Class Base Variable conf_value

Definition at line 118 of file configitem.php.

XoopsConfigItem::conf_valuetype (   $format = '')

Returns Class Base Variable conf_valuetype

Definition at line 142 of file configitem.php.

& XoopsConfigItem::getConfOptions ( )

Get the XoopsConfigItemOptions of this Config

Returns
array array of XoopsConfigItemOption

Definition at line 229 of file configitem.php.

XoopsConfigItem::getConfValueForOutput ( )

Get a config value in a format ready for output

Returns
string

Definition at line 160 of file configitem.php.

XoopsConfigItem::id (   $format = 'N')

Returns Class Base Variable conf_id

Definition at line 70 of file configitem.php.

XoopsConfigItem::setConfOptions (   $option)

Assign one or more XoopsConfigItemOptions

Parameters
mixed$optioneither a XoopsConfigItemOption object or an array of them

Definition at line 210 of file configitem.php.

References $i.

XoopsConfigItem::setConfValueForInput ( $value,
  $force_slash = false 
)

Set a config value

Parameters
mixed&$valueValue
bool$force_slash

Definition at line 187 of file configitem.php.

XoopsConfigItem::XoopsConfigItem ( )

Constructor

Definition at line 53 of file configitem.php.

References XOBJ_DTYPE_INT, XOBJ_DTYPE_OTHER, XOBJ_DTYPE_TXTAREA, and XOBJ_DTYPE_TXTBOX.

Member Data Documentation

XoopsConfigItem::$_confOptions = array()

Definition at line 48 of file configitem.php.


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