phpBB

Development Wiki

Umil.config remove

From phpBB Development Wiki

umil::config_remove –– Remove a config setting using the Umil Library.

Description

string umil::config_remove ( mixed $config_name )

Parameters

Parameter Required/Default Usage
config_name Required The name of the config setting to remove

Return Values

Returns result or umil_end data

This article is a stub. You can help in improving Olympus Documentation by expanding it.


Examples

Example #1

Remove a config item named 'test_mod_bool'

$umil->config_remove('test_mod_bool');

Example #2

Remove multiple config items with one function call

$umil->config_remove(array(
    array(
'test_mod_bool'),
    array(
'test_mod_string'),
    array(
'test_mod_count'),
));

See Also