\Ingo_Form_Vacation

The form to manage vacation notices.

Summary

Methods
Properties
Constants
__construct()
hasFeature()
setCustomButtons()
validate()
No public properties found
No constants found
No protected methods found
$_features
$_start
$_end
N/A
No private methods found
No private properties found
N/A

Properties

$_features

$_features : array

List of the supported form fields. If empty, all features are supported.

Type

array

$_start

$_start : \Horde_Form_Variable

The start date field.

Type

\Horde_Form_Variable

$_end

$_end : \Horde_Form_Variable

The end date field.

Type

\Horde_Form_Variable

Methods

__construct()

__construct(  $vars,   $title = '',   $name = null,   $features = null) 

Parameters

$vars
$title
$name
$features

hasFeature()

hasFeature(  $what) 

Parameters

$what

setCustomButtons()

setCustomButtons(boolean  $disabled) 

Sets the form buttons.

Parameters

boolean $disabled

Whether the rule is currently disabled.

validate()

validate(  $vars = null,   $canAutoFill = false) 

Additional validate of start and end date fields.

Parameters

$vars
$canAutoFill