XOOPS  2.6.0
XoopsConfigItem Class Reference
Inheritance diagram for XoopsConfigItem:
Inheritance graph

Public Member Functions

 __construct ()
 
 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)
 
- Public Member Functions inherited from Xoops\Core\Kernel\XoopsObject
 assignVar ($key, $value)
 
 assignVars ($var_arr)
 
 cleanVars ($quote=true)
 
 destroyVars ($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= '')
 
 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 ()
 

Private Attributes

 $_confOptions = array()
 

Additional Inherited Members

- Public Attributes inherited from Xoops\Core\Kernel\XoopsObject
 $cleanVars = array()
 
 $plugin_path
 
 $vars = array()
 

Detailed Description

#@-

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

Definition at line 41 of file configitem.php.

Constructor & Destructor Documentation

XoopsConfigItem::__construct ( )

Member Function Documentation

XoopsConfigItem::clearConfOptions ( )

Clear options from this item

Returns
void

Definition at line 252 of file configitem.php.

XoopsConfigItem::conf_catid (   $format = '')
Parameters
string$format
Returns
mixed

Definition at line 100 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::conf_desc (   $format = '')
Parameters
string$format
Returns
mixed

Definition at line 136 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::conf_formtype (   $format = '')
Parameters
string$format
Returns
mixed

Definition at line 145 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::conf_id (   $format = '')
Parameters
string$format
Returns
mixed

Definition at line 82 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::conf_modid (   $format = '')
Parameters
string$format
Returns
mixed

Definition at line 91 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::conf_name (   $format = '')
Parameters
string$format
Returns
mixed

Definition at line 109 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::conf_order (   $format = '')
Parameters
string$format
Returns
mixed

Definition at line 163 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::conf_title (   $format = '')
Parameters
string$format
Returns
mixed

Definition at line 118 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::conf_value (   $format = '')
Parameters
string$format
Returns
mixed

Definition at line 127 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::conf_valuetype (   $format = '')
Parameters
string$format
Returns
mixed

Definition at line 154 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::getConfOptions ( )

Get the XoopsConfigOptions of this Config

Returns
array array of XoopsConfigOption

Definition at line 242 of file configitem.php.

References $_confOptions.

Referenced by XoopsConfigHandler\deleteConfig(), and XoopsConfigHandler\insertConfig().

Here is the caller graph for this function:

XoopsConfigItem::getConfValueForOutput ( )

Get a config value in a format ready for output

Returns
string

Definition at line 173 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Referenced by createThemeform().

Here is the call graph for this function:

Here is the caller graph for this function:

XoopsConfigItem::id (   $format = 'n')
Parameters
string$format
Returns
mixed

Definition at line 73 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

XoopsConfigItem::setConfOptions (   $option)

Assign one or more XoopsConfigOptions

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

Definition at line 223 of file configitem.php.

References $count, and $i.

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

Set a config value

Parameters
mixed&$valueValue
bool$force_slash

Definition at line 200 of file configitem.php.

References Xoops\Core\Kernel\XoopsObject\getVar(), and Xoops\Core\Kernel\XoopsObject\setVar().

Here is the call graph for this function:

Member Data Documentation

XoopsConfigItem::$_confOptions = array()
private

Definition at line 50 of file configitem.php.

Referenced by getConfOptions().


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