Vacation_DriverVacation_Driver:: defines an API for implementing vacation backends for the vacation module.
$Horde: vacation/lib/Driver.php,v 1.35.2.9 2009/12/30 16:23:29 jan Exp $
Copyright 2001-2009 The Horde Project (http://www.horde.org/)
See the enclosed file LICENSE for license information (BSD). If you did not receive this file, see http://www.horde.org/licenses/bsdl.php.
Located in /lib/Driver.php (line 18)
| Class | Description |
|---|---|
Vacation_Driver_customsql
|
Vacation_Driver_sql implements the Vacation_Driver API for SQL servers. |
Vacation_Driver_forwards
|
Vacation_Driver_forwards:: implements the Vacation_Driver API for ftp driven dot-forward compliant mail servers. |
Vacation_Driver_ldap
|
Vacation_Driver_ldap:: implements the Vacation_Driver API for LDAP-compliant mail servers (such as Exim). |
Vacation_Driver_sql
|
Vacation_Driver_sql:: implements the Vacation_Driver API for SQL servers. |
Vacation_Driver_plesk
|
Vacation_Driver_plesk implements the Vacation_Driver API for Plesk control panel servers. |
void
setVacation
(string $password, string $message, string $subject, string $from, [string $alias = ''])
array
$capabilities
= array('changeFrom' => true) (line 70)
An array of capabilities, so that the driver can report which operations it supports and which it doesn't.
string
$_from
(line 60)
The current vacation From: address.
string
$_message
(line 46)
The current vacation message.
array
$_params
(line 39)
Hash containing configuration data.
string
$_realm
(line 32)
The user's realm.
string
$_subject
(line 53)
The current vacation subject.
string
$_user
(line 25)
The current user name.
Constructor Vacation_Driver (line 78)
Constructor.
currentFrom (line 228)
Retrieves current vacation From: address.
currentMessage (line 198)
Retrieves current vacation message.
currentSubject (line 213)
Retrieves current vacation subject.
factory (line 455)
Attempts to return a concrete Vacation_Driver instance based on $driver.
getFrom (line 371)
Returns the default From: address of the current user.
getParam (line 117)
Return a parameter value.
getUser (line 129)
Returns the current user.
hasCapability (line 105)
Queries the current Driver object to find out if it supports the given capability.
isEnabled (line 171)
Retrieves status of vacation for a user.
setVacation (line 145)
Sets up vacation notices for a user.
unsetVacation (line 157)
Disables vacation notices for a user.
_buildMessage (line 245)
Builds a vacation message.
_encryptPassword (line 387)
Formats a password using the current encryption.
_getUserDetails (line 361)
Retrieves the current vacation details for the user.
_makeEmailAddress (line 409)
Parses an email address list and returns it in a known standard form.
This will attempt to add the domain (realm) to unqualified addresses if the realm is non-blank and not 'default'.
_parseMessage (line 303)
Parses a vacation message.
_processMessage (line 276)
Processes the current vacation message.
Documentation generated on Sun, 30 Jan 2011 05:40:30 +0000 by phpDocumentor 1.4.3