PHP Класс Ingo_Rule_System_Vacation, horde

Автор: Michael Slusarz ([email protected])
Наследование: extends Ingo_Rule_Addresses, implements Ingo_Rule_System
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_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.

Открытые методы

Метод Описание
__construct ( ) Constructor.
__get ( $name )
__set ( $name, $data )
vacationReason ( string $reason, integer $start, integer $end ) : string Returns the vacation reason with all placeholder replaced.

Описание методов

__construct() публичный метод

Constructor.
public __construct ( )

__get() публичный метод

public __get ( $name )

__set() публичный метод

public __set ( $name, $data )

vacationReason() публичный статический метод

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.
Результат string The vacation reason suitable for usage in the filter scripts.

Описание свойств

$_days защищенное свойство

Number of vacation days.
protected int $_days
Результат integer

$_end защищенное свойство

End date.
protected int $_end
Результат integer

$_exclude защищенное свойство

Vacation address exclusions.
protected array $_exclude
Результат array

$_ignoreList защищенное свойство

Ignore list messages?
protected bool $_ignoreList
Результат boolean

$_reason защищенное свойство

Reason.
protected string $_reason
Результат string

$_start защищенное свойство

Start date.
protected int $_start
Результат integer

$_subject защищенное свойство

Subject of outgoing message.
protected string $_subject
Результат string