src/Environaut/Report/Report.php
public function getSettingsAsArray($groups = null, $flag = null)
    {
        $settings = array();

        foreach ($this->results as $result) {
            if (IResult::SUCCESS === $result->getStatus()) {
                $new_settings = $result->getSettingsAsArray($groups, $flag);
                foreach ($new_settings as $s) {
                    $settings[] = $s;
                }
            }
        }

        return $settings;
    }
public function getSettingsAsArray($groups = null, $flag = null)
    {
        $settings = array();

        foreach ($this->results as $result) {
            if (IResult::SUCCESS === $result->getStatus()) {
                $new_settings = $result->getSettingsAsArray($groups, $flag);
                foreach ($new_settings as $s) {
                    $settings[] = $s;
                }
            }
        }

        return $settings;
    }
Returns an array of associative arrays for each ISetting instance
that matches the given criterias (from the successful results of this report).

@param mixed $groups string or array of group names settings should match, the default null matches always
@param integer $flag type of settings to get

@return array of associative arrays for each ISetting instance that matched