\Horde_Push_Recipient_Twitter

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.

Summary

Methods
Properties
Constants
setAcl()
__construct()
push()
No public properties found
No constants found
getAcl()
No protected properties found
N/A
No private methods found
$_acl
$_twitter
$_client
N/A

Properties

$_acl

$_acl : string

The ACL for this recipient.

Type

string

$_twitter

$_twitter : \Horde_Service_Twitter

The twitter client.

Type

\Horde_Service_Twitter

$_client

$_client : \Horde_Http_Client

A HTTP client.

Type

\Horde_Http_Client

Methods

setAcl()

setAcl(string  $acl) : NULL

Set the ACL for this recipient.

Parameters

string $acl

The ACL.

Returns

NULL

__construct()

__construct(\Horde_Service_Twitter  $twitter,   $client = null) 

Constructor.

Parameters

\Horde_Service_Twitter $twitter

The twitter client.

$client

push()

push(\Horde_Push  $content, array  $options = array()) : string

Push content to the recipient.

Parameters

\Horde_Push $content

The content element.

array $options

Additional options.

Returns

string —

The result description.

getAcl()

getAcl() : string

Retrieve the ACL setting for this recipient.

Returns

string —

The ACL.