Horde_Config::_default PHP 메소드

_default() 보호된 메소드

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.
리턴 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;
    }