PHP Class Horde_Service_Facebook_Request_Base, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/)
Author: Michael J. Rubinsky ([email protected])
Show file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_facebook Horde_Service_Facebook
$_http Horde_Http_Client
$_method string The current method being processed.
$_params array The method parameters for the current method call.

Public Methods

Method Description
__construct ( Horde_Service_Facebook $facebook, string $method, array $params = [] ) Const'r
run ( ) : array Run this request and return the data.
upload ( array $options = [] ) Perform a multipart/form-data upload.

Method Details

__construct() public method

Const'r
public __construct ( Horde_Service_Facebook $facebook, string $method, array $params = [] )
$facebook Horde_Service_Facebook
$method string
$params array

run() abstract public method

Run this request and return the data.
abstract public run ( ) : array
return array The results of the request.

upload() abstract public method

Perform a multipart/form-data upload.
abstract public upload ( array $options = [] )
$options array An options array: - params: (array) Form parameters to pass - file: (string) Local path to the file

Property Details

$_facebook protected property

protected Horde_Service_Facebook $_facebook
return Horde_Service_Facebook

$_http protected property

protected Horde_Http_Client $_http
return Horde_Http_Client

$_method protected property

The current method being processed.
protected string $_method
return string

$_params protected property

The method parameters for the current method call.
protected array $_params
return array