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;
    }
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;
    }
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 ; }
Returns an array of ISetting instances that match 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 ISetting instances
Returns an array of ISetting instances that match the given criterias from the successful results of this report .