PHP Class Ingo_Rule_System_Vacation, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Ingo_Rule_Addresses, implements Ingo_Rule_System
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_days integer Number of vacation days.
$_end integer End date.
$_exclude array Vacation address exclusions.
$_ignoreList boolean Ignore list messages?
$_reason string Reason.
$_start integer Start date.
$_subject string Subject of outgoing message.

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
__get ( $name )
__set ( $name, $data )
vacationReason ( string $reason, integer $start, integer $end ) : string Returns the vacation reason with all placeholder replaced.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

__get() public méthode

public __get ( $name )

__set() public méthode

public __set ( $name, $data )

vacationReason() public static méthode

Returns the vacation reason with all placeholder replaced.
public static vacationReason ( string $reason, integer $start, integer $end ) : string
$reason string The vacation reason including placeholders.
$start integer The vacation start timestamp.
$end integer The vacation end timestamp.
Résultat string The vacation reason suitable for usage in the filter scripts.

Property Details

$_days protected_oe property

Number of vacation days.
protected int $_days
Résultat integer

$_end protected_oe property

End date.
protected int $_end
Résultat integer

$_exclude protected_oe property

Vacation address exclusions.
protected array $_exclude
Résultat array

$_ignoreList protected_oe property

Ignore list messages?
protected bool $_ignoreList
Résultat boolean

$_reason protected_oe property

Reason.
protected string $_reason
Résultat string

$_start protected_oe property

Start date.
protected int $_start
Résultat integer

$_subject protected_oe property

Subject of outgoing message.
protected string $_subject
Résultat string