Vacation_Driver_pleskVacation_Driver_plesk implements the Vacation_Driver API for Plesk control panel servers.
Plesk 8.1 or later is required.
$Horde: vacation/lib/Driver/plesk.php,v 1.10.2.4 2010/03/17 17:19:28 jan Exp $
Copyright 2008-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/plesk.php (line 21)
Vacation_Driver | --Vacation_Driver_plesk
void
setVacation
(string $password, string $message, string $subject, string $from, [string $alias = ''])
array
$capabilities
= array('changeFrom' => false) (line 31)
An array of capabilities, so that the driver can report which operations it supports and which it doesn't.
resource
$_curl
(line 38)
The curl resource handler
array
$_details
= null (line 52)
The current vacation details.
integer
$_domain_id
(line 45)
The Plesk domain id of the current realm.
Inherited from Vacation_Driver
Vacation_Driver::$_from
Vacation_Driver::$_message
Vacation_Driver::$_params
Vacation_Driver::$_realm
Vacation_Driver::$_subject
Vacation_Driver::$_user
currentFrom (line 169)
Retrieves current vacation From: address.
getParam (line 61)
Returns a parameter value.
setVacation (line 79)
Setup vacation notices for a user.
unsetVacation (line 125)
Removes any existing vacation notices.
_checkConfig (line 233)
Checks if the realm has a specific configuration. If not, tries to fall back on the default configuration. If still not a valid configuration then returns an error.
_getUserDetails (line 181)
Retrieves the current vacation details for the user.
_parseResponse (line 326)
Parses the XML response body of the Plesk API call into a hash.
_request (line 282)
Connects to the Plesk RPC API server and sends a request.
Inherited From Vacation_Driver
Vacation_Driver::Vacation_Driver()
Vacation_Driver::currentFrom()
Vacation_Driver::currentMessage()
Vacation_Driver::currentSubject()
Vacation_Driver::factory()
Vacation_Driver::getFrom()
Vacation_Driver::getParam()
Vacation_Driver::getUser()
Vacation_Driver::hasCapability()
Vacation_Driver::isEnabled()
Vacation_Driver::setVacation()
Vacation_Driver::unsetVacation()
Vacation_Driver::_buildMessage()
Vacation_Driver::_encryptPassword()
Vacation_Driver::_getUserDetails()
Vacation_Driver::_makeEmailAddress()
Vacation_Driver::_parseMessage()
Vacation_Driver::_processMessage()
Documentation generated on Sun, 30 Jan 2011 05:40:31 +0000 by phpDocumentor 1.4.3