PEAR_Config::toDefault

PEAR_Config::toDefault() – Revert value of config key to the system-defined one

Synopsis

require_once 'PEAR/config.php';

bool PEAR_Config::toDefault ( string $key )

Description

Unset the user-defined value of a config key, reverting the value to the system-defined one.

Parameter

string $key

config key

Return value

bool - Returns TRUE on success, FALSE on failure.

Note

This function can not be called statically.

Stores configuration data in a layer (Previous) Determine whether any configuration files have been detected, and whether a registry object can be retrieved from this configuration. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.