function requestFields($field_names, $required=false, $strict=false)
    {
        if (!is_array($field_names)) {
            return false;
        }

        foreach ($field_names as $field_name) {
            if (!$this->requestField($field_name, $required, $strict)) {
                return false;
            }
        }

        return true;
    }
function requestFields($field_names, $required=false, $strict=false)
    {
        if (!is_array($field_names)) {
            return false;
        }

        foreach ($field_names as $field_name) {
            if (!$this->requestField($field_name, $required, $strict)) {
                return false;
            }
        }

        return true;
    }
function requestFields ( $ field_names , $ required = false , $ strict = false ) { if ( ! is_array ( $ field_names ) ) { return false ; } foreach ( $ field_names as $ field_name ) { if ( ! $ this -> requestField ( $ field_name , $ required , $ strict ) ) { return false ; } } return true ; }
Add the given list of fields to the request

field_names: The simple registration data fields to request

required: Whether these values should be presented to the user
as required

strict: whether to raise an exception when a field is added to
a request more than once

@param string $field_names
@param bool $required
@param bool $strict
@return bool
Add the given list of fields to the request