public function get($section, $key, $default = null)
    {
        $items = $this->getSettingsConfig();

        if (isset($items[$section][$key])) {
            $this->setting = ArrayHelper::getValue($items[$section][$key], 'value');
            $type = ArrayHelper::getValue($items[$section][$key], 'type');
            $this->convertSettingType($type);
        } else {
            $this->setting = $default;
        }

        return $this->setting;
    }
public function get($section, $key, $default = null)
    {
        $items = $this->getSettingsConfig();

        if (isset($items[$section][$key])) {
            $this->setting = ArrayHelper::getValue($items[$section][$key], 'value');
            $type = ArrayHelper::getValue($items[$section][$key], 'type');
            $this->convertSettingType($type);
        } else {
            $this->setting = $default;
        }

        return $this->setting;
    }
public function get ( $ section , $ key , $ default = null ) { $ items = $ this -> getSettingsConfig ( ) ; if ( isset ( $ items [ $ section ] [ $ key ] ) ) { $ this -> setting = ArrayHelper :: getValue ( $ items [ $ section ] [ $ key ] , 'value' ) ; $ type = ArrayHelper :: getValue ( $ items [ $ section ] [ $ key ] , 'type' ) ; $ this -> convertSettingType ( $ type ) ; } else { $ this -> setting = $ default ; } return $ this -> setting ; }
Get's the value for the given section and key.

@param string $section
@param string $key
@param null $default

@return mixed
Get s the value for the given section and key .