Horde_Push_Recipient_Mock
extends Horde_Push_Recipient_Base
in package
A mock 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
- $pushed : array<string|int, mixed>
- Pushed content elements.
- $_acl : string
- The ACL for this recipient.
- push() : null
- Push content to the recipient.
- setAcl() : null
- Set the ACL for this recipient.
- getAcl() : string
- Retrieve the ACL setting for this recipient.
Properties
$pushed
Pushed content elements.
public
array<string|int, mixed>
$pushed
= array()
$_acl
The ACL for this recipient.
private
string
$_acl
Methods
push()
Push content to the recipient.
public
push(Horde_Push $content[, array<string|int, mixed> $options = array() ]) : null
Parameters
- $content : Horde_Push
-
The content element.
- $options : array<string|int, mixed> = array()
-
Additional options.
Return values
null —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.