code/libraries/joomlatools/library/object/config/config.php
public function get($name, $default = null)
    {
        $result = $default;
        if(isset($this->__options[$name]) || array_key_exists($name, $this->__options)) {
            $result = $this->__options[$name];
        }

        return $result;
    }
public function get($name, $default = null)
    {
        $result = $default;
        if(isset($this->__options[$name]) || array_key_exists($name, $this->__options)) {
            $result = $this->__options[$name];
        }

        return $result;
    }
public function get ( $ name , $ default = null ) { $ result = $ default ; if ( isset ( $ this -> __options [ $ name ] ) || array_key_exists ( $ name , $ this -> __options ) ) { $ result = $ this -> __options [ $ name ] ; } return $ result ; }
Retrieve a configuration option

If the option does not exist return the default.

@param string  $name
@param mixed   $default
@return mixed
Retrieve a configuration option