Property | 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. |
Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
__get ( $name ) | ||
__set ( $name, $data ) | ||
vacationReason ( string $reason, integer $start, integer $end ) : string | 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. |
return | string | The vacation reason suitable for usage in the filter scripts. |
protected string $_subject | ||
return | string |