\Ingo_Rule_Addresses

A rule that deals with an address list.

Summary

Methods
Properties
Constants
__toString()
description()
__construct()
__get()
__set()
addAddresses()
count()
$disable
$name
$uid
$addresses
$addresses
No constants found
_setAddressesException()
$_addr
$_perm
N/A
No private methods found
No private properties found
N/A

Properties

$disable

$disable : boolean

Is this rule disabled?

Type

boolean

$name

$name : string

Rule name.

Type

string

$uid

$uid : string

Unique ID of the rule.

Type

string

$addresses

$addresses : array

The list of addresses.

Type

array

$addresses

$addresses : mixed

The list of addresses (array or string).

Type

mixed

$_addr

$_addr : \Horde_Mail_Rfc822_List

Address list.

Type

\Horde_Mail_Rfc822_List

$_perm

$_perm : string

Permission name.

Type

string

Methods

__toString()

__toString() 

description()

description() : string

Generate the rule description.

Returns

string —

Rule description.

__construct()

__construct() 

__get()

__get(  $name) 

Parameters

$name

__set()

__set(  $name,   $data) 

Parameters

$name
$data

addAddresses()

addAddresses(  $to_add) 

Add addresses to the current address list.

Parameters

$to_add

Throws

\Ingo_Exception

count()

count() 

_setAddressesException()

_setAddressesException(  $addr_count,   $max) : \Ingo_Excception

Parameters

$addr_count
$max

Returns

\Ingo_Excception