Variable API in Variable 7
Same name and namespace in other branches
- 7.2 variable.module \variable_api
Get meta-information about variables and extended get/set methods
Use these functions if you want to take full advantage of Variable API
File
- ./
variable.module, line 16 - Variable API module
Functions
Name | Location | Description |
---|---|---|
variable_access |
./ |
Check access to variable |
variable_children |
./ |
Get list of variables expanding multiple ones |
variable_delete |
./ |
Delete variable (included children variables) |
variable_format_unknown |
./ |
Format unknown variable |
variable_format_value |
./ |
Format printable value |
variable_get_child |
./ |
Get variable child element from multiple variable |
variable_get_default |
./ |
Get variable default |
variable_get_group |
./ |
Get variable group information. |
variable_get_info |
./ |
Get variable information |
variable_get_option |
./ |
Get variable option information. |
variable_get_type |
./ |
Get variable type information. |
variable_get_value |
./ |
Get value for simple scalar variable |
variable_list |
./ |
Provide list of variable titles |
variable_name |
./ |
Get human readable name for variable. |
variable_parent |
./ |
Map children variables to parent variables |
variable_set_value |
./ |
Set variable value |