PHP 클래스 Horde_Service_Facebook_Request_Graph, horde
Copyright 2009-2014 Horde LLC (http://www.horde.org/)
파일 보기
프로젝트 열기: horde/horde
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
메소드 |
설명 |
|
__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. |
|
메소드 상세
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 |
리턴 |
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 |
프로퍼티 상세
protected Horde_Url $_endpoint |
리턴 |
Horde_Url |
|
protected string $_raw |
리턴 |
string |
|
The HTTP method to use for this request.