PHP 클래스 Horde_Service_Facebook_Request_Graph, horde

Copyright 2009-2014 Horde LLC (http://www.horde.org/)
저자: Michael J. Rubinsky ([email protected])
상속: extends Horde_Service_Facebook_Request_Base
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_endpoint Horde_Url API Endpoint to call.
$_raw string Raw POST data.
$_request The HTTP method to use for this request.

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

Const'r
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() 공개 메소드

Run this request and return the data.
public run ( ) : mixed
리턴 mixed Either raw JSON, or an array of decoded values.

upload() 공개 메소드

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

프로퍼티 상세

$_endpoint 보호되어 있는 프로퍼티

API Endpoint to call.
protected Horde_Url $_endpoint
리턴 Horde_Url

$_raw 보호되어 있는 프로퍼티

Raw POST data.
protected string $_raw
리턴 string

$_request 보호되어 있는 프로퍼티

The HTTP method to use for this request.
protected $_request