public function getValues($section = 0)
    {
        $masterValues = $this->master->getValues($section);
        $overValues = $this->overrider->getValues($section);

        foreach ($overValues as $key => &$value) {
            if (!isset($masterValues[$key])) {
                $masterValues[$key] = $value;
                continue;
            }
            if (is_array($value) && is_array($masterValues[$key])) {
                $masterValues[$key] = array_merge($masterValues[$key], $value);
            } else {
                $masterValues[$key] = $value;
            }
        }

        return $masterValues;
    }
public function getValues($section = 0)
    {
        $masterValues = $this->master->getValues($section);
        $overValues = $this->overrider->getValues($section);

        foreach ($overValues as $key => &$value) {
            if (!isset($masterValues[$key])) {
                $masterValues[$key] = $value;
                continue;
            }
            if (is_array($value) && is_array($masterValues[$key])) {
                $masterValues[$key] = array_merge($masterValues[$key], $value);
            } else {
                $masterValues[$key] = $value;
            }
        }

        return $masterValues;
    }
public function getValues ( $ section = 0 ) { $ masterValues = $ this -> master -> getValues ( $ section ) ; $ overValues = $ this -> overrider -> getValues ( $ section ) ; foreach ( $ overValues as $ key => & $ value ) { if ( ! isset ( $ masterValues [ $ key ] ) ) { $ masterValues [ $ key ] = $ value ; continue ; } if ( is_array ( $ value ) && is_array ( $ masterValues [ $ key ] ) ) { $ masterValues [ $ key ] = array_merge ( $ masterValues [ $ key ] , $ value ) ; } else { $ masterValues [ $ key ] = $ value ; } } return $ masterValues ; }
return all values of a section from the both ini files.

@param string $section the section from wich we want values. 0 is the global section

@return array the list of values, $key=>$value
return all values of a section from the both ini files .