Documentation

Horde_Push_Recipient_Twitter extends Horde_Push_Recipient_Base
in package

Twitter 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
category

Horde

author

Gunnar Wrobel wrobel@pardus.de

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

link
http://www.horde.org/libraries/Horde_Push

Table of Contents

$_acl  : string
The ACL for this recipient.
$_client  : Horde_Http_Client
A HTTP client.
$_twitter  : Horde_Service_Twitter
The twitter client.
__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

$_client

A HTTP client.

private Horde_Http_Client $_client

$_twitter

The twitter client.

private Horde_Service_Twitter $_twitter

Methods

__construct()

Constructor.

public __construct(Horde_Service_Twitter $twitter[, mixed $client = null ]) : mixed
Parameters
$twitter : Horde_Service_Twitter

The twitter client.

$client : mixed = null
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.

Search results