Horde_Config::_default PHP Method

_default() protected method

Returns a certain value from the current configuration array or a default value, if not found.
protected _default ( string $ctx, mixed $default ) : mixed
$ctx string A string representing the key of the configuration array to return.
$default mixed The default value to return if the key wasn't found.
return mixed Either the value of the configuration array's requested key or the default value if the key wasn't found.
    protected function _default($ctx, $default)
    {
        list($ptr, ) = $this->__default($ctx, $default);
        return $ptr;
    }