DOCROOT/vendor/google/apiclient/src/Http/REST.php [ 128 ]
123 if (intVal($code) >= 400) {
124 // if we errored out, it should be safe to grab the response body
125 $body = (string) $response->getBody();
126
127 // Check if we received errors, and add those to the Exception for convenience
128 throw new GoogleServiceException($body, $code, null, self::getResponseErrors($body));
129 }
130
131 // Ensure we only pull the entire body into memory if the request is not
132 // of media type
133 $body = self::decodeBody($response, $request);
-
DOCROOT/vendor/google/apiclient/src/Http/REST.php [ 103 ] » Google\Http\REST::decodeHttpResponse()
98 $response->getReasonPhrase() 99 ); 100 } 101 } 102 103 return self::decodeHttpResponse($response, $request, $expectedClass); 104 } 105 106 /** 107 * Decode an HTTP Response. 108 * @static
-
{PHP internal call} » Google\Http\REST::doExecute()
-
DOCROOT/vendor/google/apiclient/src/Task/Runner.php [ 182 ] » call_user_func_array()
177 */ 178 public function run() 179 { 180 while ($this->attempt()) { 181 try { 182 return call_user_func_array($this->action, $this->arguments); 183 } catch (GoogleServiceException $exception) { 184 $allowedRetries = $this->allowedRetries( 185 $exception->getCode(), 186 $exception->getErrors() 187 );
-
DOCROOT/vendor/google/apiclient/src/Http/REST.php [ 66 ] » Google\Task\Runner->run()
61 62 if (null !== $retryMap) { 63 $runner->setRetryMap($retryMap); 64 } 65 66 return $runner->run(); 67 } 68 69 /** 70 * Executes a Psr\Http\Message\RequestInterface 71 *
-
DOCROOT/vendor/google/apiclient/src/Client.php [ 898 ] » Google\Http\REST::execute()
893 return REST::execute( 894 $http, 895 $request, 896 $expectedClass, 897 $this->config['retry'], 898 $this->config['retry_map'] 899 ); 900 } 901 902 /** 903 * Declare whether batch calls should be used. This may increase throughput
-
DOCROOT/vendor/google/apiclient/src/Service/Resource.php [ 238 ] » Google\Client->execute()
233 ->withHeader('X-Php-Expected-Class', $expectedClass); 234 235 return $request; 236 } 237 238 return $this->client->execute($request, $expectedClass); 239 } 240 241 protected function convertToArrayAndStripNulls($o) 242 { 243 $o = (array) $o;
-
DOCROOT/vendor/spotonlive/php-google-my-business/MyBusiness.php [ 1256 ] » Google\Service\Resource->call()
1251 */ 1252 public function listAccounts($optParams = array()) 1253 { 1254 $params = array(); 1255 $params = array_merge($params, $optParams); 1256 return $this->call('list', array($params), "Google_Service_MyBusiness_ListAccountsResponse"); 1257 } 1258 1259 /** 1260 * List all the GoogleLocations that have been recommended to the specified GMB 1261 * account. Recommendations are provided for personal accounts and location
-
APPPATH/views/widget/grid.php [ 57 ] » Google_Service_MyBusiness_Accounts_Resource->listAccounts()
52 $client->setSubject('gmb@inservio.ca'); 53 54 $accounts = $my_business->accounts; 55 $locations = $my_business->accounts_locations; 56 57 $accounts_list = $accounts->listAccounts(); 58 $account_path = $accounts_list->accounts[0]->name; 59 60 $locationName = $account_path.'/locations/'.$google_location; 61 62 $locurls = array();
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(71) "/var/www/vhosts/sondage.votre-avis.ca/application/views/widget/grid.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture()
354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message.
-
SYSPATH/classes/Kohana/Response.php [ 169 ] » Kohana_View->__toString()
164 public function body($content = NULL) 165 { 166 if ($content === NULL) 167 return $this->_body; 168 169 $this->_body = (string) $content; 170 return $this; 171 } 172 173 /** 174 * Gets or sets the HTTP protocol. The standard protocol to use
-
APPPATH/classes/Controller/Template/InServioPartners.php [ 80 ] » Kohana_Response->body()
75 public function after() { 76 if($this->json) { 77 $this->response->body(json_encode($this->content, JSON_UNESCAPED_UNICODE)); 78 return; 79 } else if($this->raw) { 80 $this->response->body($this->content); 81 return; 82 } 83 84 if($this->head) { 85 $this->head->erreur = false;
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Template_InServioPartners->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke()
89 90 // Create a new instance of the controller 91 $controller = $class->newInstance($request, $response); 92 93 // Run the controller's execute() method 94 $response = $class->getMethod('execute')->invoke($controller); 95 96 if ( ! $response instanceof Response) 97 { 98 // Controller failed to return a Response. 99 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request()
109 $orig_response = $response = Response::factory(['_protocol' => $request->protocol()]); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute()
995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * Can be used to test for sub requests.
-
DOCROOT/httpdocs/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, [], FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }