PHP Class Horde_Service_Facebook_Request_Graph, horde
Copyright 2009-2014 Horde LLC (http://www.horde.org/)
Mostrar archivo
Open project: horde/horde
Class Usage Examples
Protected Properties
Public Methods
Method |
Description |
|
__construct ( Horde_Service_Facebook $facebook, string $method = '', array $params = [], array $options = [] ) |
Const'r |
|
run ( ) : mixed |
Run this request and return the data. |
|
upload ( array $options = [] ) |
Perform a multipart/form-data upload. |
|
Method Details
__construct()
public method
public __construct ( Horde_Service_Facebook $facebook, string $method = '', array $params = [], array $options = [] ) |
$facebook |
Horde_Service_Facebook |
The facebook client. |
$method |
string |
The API method to call. |
$params |
array |
Any parameters to send. |
$options |
array |
Additional options:
- request (string) The HTTP method to use.
DEFAULT: GET |
Run this request and return the data.
public run ( ) : mixed |
return |
mixed |
Either raw JSON, or an array of decoded values. |
Perform a multipart/form-data upload.
public upload ( array $options = [] ) |
$options |
array |
An options array:
- params: (array) Form parameters to pass
- file: (string) Local path to the file |
Property Details
$_endpoint protected_oe property
protected Horde_Url $_endpoint |
return |
Horde_Url |
|
$_raw protected_oe property
protected string $_raw |
return |
string |
|
$_request protected_oe property
The HTTP method to use for this request.