Lines Matching refs:parameters
74 $parameters = $arguments[0];
78 if (isset($parameters['postBody'])) {
79 if (is_object($parameters['postBody'])) {
80 $this->stripNull($parameters['postBody']);
84 if (is_array($parameters['postBody']) && 'latitude' == $this->serviceName) {
85 if (!isset($parameters['postBody']['data'])) {
86 $rawBody = $parameters['postBody'];
87 unset($parameters['postBody']);
88 $parameters['postBody']['data'] = $rawBody;
92 $postBody = is_array($parameters['postBody']) || is_object($parameters['postBody'])
93 ? json_encode($parameters['postBody'])
94 : $parameters['postBody'];
95 unset($parameters['postBody']);
97 if (isset($parameters['optParams'])) {
98 $optParams = $parameters['optParams'];
99 unset($parameters['optParams']);
100 $parameters = array_merge($parameters, $optParams);
109 foreach ($parameters as $key => $val) {
116 … if (isset($paramSpec['required']) && $paramSpec['required'] && ! isset($parameters[$paramName])) {
119 if (isset($parameters[$paramName])) {
120 $value = $parameters[$paramName];
121 $parameters[$paramName] = $paramSpec;
122 $parameters[$paramName]['value'] = $value;
123 unset($parameters[$paramName]['required']);
125 unset($parameters[$paramName]);
145 $media = Google_MediaFileUpload::process($postBody, $parameters);
154 $url = Google_REST::createRequestUri($servicePath, $method['path'], $parameters);
173 if (isset($parameters['uploadType']['value'])
174 && Google_MediaFileUpload::UPLOAD_RESUMABLE_TYPE == $parameters['uploadType']['value']) {