public function get_setting_flag_defaults(& $defaults) {
        foreach ($this->flags as $flag) {
            if ($flag->is_enabled() && $flag->get_default()) {
                $defaults[] = $flag->get_displayname();
            }
        }
    }
public function get_setting_flag_defaults(& $defaults) {
        foreach ($this->flags as $flag) {
            if ($flag->is_enabled() && $flag->get_default()) {
                $defaults[] = $flag->get_displayname();
            }
        }
    }
public function get_setting_flag_defaults ( & $ defaults ) { foreach ( $ this -> flags as $ flag ) { if ( $ flag -> is_enabled ( ) && $ flag -> get_default ( ) ) { $ defaults [ ] = $ flag -> get_displayname ( ) ; } } }
Get the list of defaults for the flags on this setting.

@param array of strings describing the defaults for this setting. This is appended to by this function.
Get the list of defaults for the flags on this setting .