public function getSettings($groups = null, $flag = null)
    {
        $settings = array();

        foreach ($this->results as $result) {
            if (IResult::SUCCESS === $result->getStatus()) {
                $settings = array_merge($settings, $result->getSettings($groups, $flag));
            }
        }

        return $settings;
    }