Overview

Packages

  • None
  • Sam

Classes

  • Sam
  • Sam_Driver_Amavisd_Sql
  • Sam_Driver_Base
  • Sam_Driver_Spamd_Base
  • Sam_Driver_Spamd_Ftp
  • Sam_Driver_Spamd_Ldap
  • Sam_Driver_Spamd_Sql
  • Sam_Exception
  • Sam_Factory_Driver
  • Sam_Form_Blacklist
  • Sam_Form_List
  • Sam_Form_Options
  • Sam_Form_Whitelist
  • Overview
  • Package
  • Class
  • Tree

Class Sam_Driver_Spamd_Ftp

Sam storage implementation for FTP access to the users' user_prefs files.

Copyright 2003-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.

Sam_Driver_Base
Extended by Sam_Driver_Spamd_Base
Extended by Sam_Driver_Spamd_Ftp
Package: Sam
Author: Chris Bowlby cbowlby@tenthpowertech.com
Author: Max Kalika max@horde.org
Author: Ben Chavet ben@horde.org
Author: Jan Schneider jan@horde.org
Located at Driver/Spamd/Ftp.php
Methods summary
public
# __construct( string $user, array $params = array() )

Constructor.

Constructor.

Parameters

$user
A user name.
$params
<p>Class parameters: - vfs: (Horde_Vfs_Base) A VFS handle pointing to the FTP server. - user_prefs: (string) The file with the user preferences, relative to the home directory.</p>

Overrides

Sam_Driver_Base::__construct()
public
# retrieve( )

Retrieves user preferences from the backend.

Retrieves user preferences from the backend.

Throws

Sam_Exception
public
# store( boolean $defaults = false )

Stores user preferences in the backend.

Stores user preferences in the backend.

Parameters

$defaults
<p>Whether to store the global defaults instead of user options. Unused.</p>

Throws

Sam_Exception
Methods inherited from Sam_Driver_Base
booleanToOption(), getListOption(), getOption(), hasCapability(), optionToBoolean(), setListOption(), setOption(), setStackedOption()
API documentation generated by ApiGen