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

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

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

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

        return $this->setting;
    }
public function getAllBySection ( $ section , $ default = null ) { $ items = $ this -> getSettingsConfig ( ) ; if ( isset ( $ items [ $ section ] ) ) { $ this -> setting = ArrayHelper :: getColumn ( $ items [ $ section ] , 'value' ) ; } else { $ this -> setting = $ default ; } return $ this -> setting ; }
Get's all values in the specific section.

@param string $section
@param null $default

@return mixed
Get s all values in the specific section .