Horde_Push_Recipient_Facebook
extends Horde_Push_Recipient_Base
in package
Facebook as recipient.
Copyright 2011-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
- $_acl : string
- The ACL for this recipient.
- $_facebook : Horde_Service_Facebook
- The facebook client.
- $_params : array<string|int, mixed>
- The configuration for this recipient.
- __construct() : mixed
- Constructor.
- push() : string
- Push content to the recipient.
- setAcl() : null
- Set the ACL for this recipient.
- getAcl() : string
- Retrieve the ACL setting for this recipient.
Properties
$_acl
The ACL for this recipient.
private
string
$_acl
$_facebook
The facebook client.
private
Horde_Service_Facebook
$_facebook
$_params
The configuration for this recipient.
private
array<string|int, mixed>
$_params
Methods
__construct()
Constructor.
public
__construct(Horde_Service_Facebook $facebook[, array<string|int, mixed> $params = array() ]) : mixed
Parameters
- $facebook : Horde_Service_Facebook
-
The facebook client.
- $params : array<string|int, mixed> = array()
-
The recipient configuration.
Return values
mixed —push()
Push content to the recipient.
public
push(Horde_Push $content[, array<string|int, mixed> $options = array() ]) : string
Parameters
- $content : Horde_Push
-
The content element.
- $options : array<string|int, mixed> = array()
-
Additional options.
Return values
string —The result description.
setAcl()
Set the ACL for this recipient.
public
setAcl(string $acl) : null
Parameters
- $acl : string
-
The ACL.
Return values
null —getAcl()
Retrieve the ACL setting for this recipient.
protected
getAcl() : string
Return values
string —The ACL.