-
Notifications
You must be signed in to change notification settings - Fork 35
icms_config_item_Object
Raimondas Rimkevičius edited this page Mar 9, 2020
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
Config item
- Class name: icms_config_item_Object
- Namespace:
- Parent class: icms_ipf_Object
public array $_confOptions = array()
Config options
- Visibility: public
protected bool $_isNewConfig = \false
is it a newly created config object?
- Visibility: protected
public int conf_id
Item ID
- Visibility: public
public int conf_modid
Module ID
- Visibility: public
public int conf_catid
Category ID
- Visibility: public
public string conf_name
Name (used for programmers)
- Visibility: public
public string conf_title
Title (shown on forms)
- Visibility: public
public string conf_value
Value
- Visibility: public
public string conf_desc
Description (shown on forms)
- Visibility: public
public string conf_formtype
What control use for displaying field on form?
- Visibility: public
public string conf_valuetype
Type of value
- Visibility: public
public int conf_order
Order (used to sorting fields before displaying on form)
- Visibility: public
mixed icms_config_item_Object::__construct(mixed handler, mixed data)
Constructor
- Visibility: public
- handler mixed
- data mixed
mixed icms_config_item_Object::setNewConfig()
used for new config objects when installing/updating module(s)
- Visibility: public
mixed icms_config_item_Object::unsetNewConfig()
- Visibility: public
mixed icms_config_item_Object::isNewConfig()
- Visibility: public
mixed icms_config_item_Object::getConfValueForOutput()
- Visibility: public
mixed icms_config_item_Object::setConfValueForInput(mixed value, bool force_slash)
Set a config value
- Visibility: public
- value mixed
- force_slash bool
mixed icms_config_item_Object::setConfOptions(mixed option)
Assign one or more
- Visibility: public
- option mixed
\icms_config_Item_ObjectOption[] icms_config_item_Object::getConfOptions()
Get the options of this Config
- Visibility: public
void icms_config_item_Object::setType(string newType, mixed dummy)
This function will properly set the data type for each config item, overriding the default in the __construct method
- Visibility: public
- newType string - <p>data type of the config item</p>
- dummy mixed