File/plugins/change_password/backend/vhcs.php

Description

Change password VHCS backend

Backend is based on PearDB backend.

  • version: $Id: vhcs.php 1254 2008-04-06 06:13:51Z tokul $
  • copyright: (c) 2006-2007 The NaSMail Project
  • copyright: (c) 2005-2006 The SquirrelMail Project Team
  • since: 0.4
  • license: GNU Public License
Includes
 include_once ('DB.php') (line 22)

load Pear DB.

Global is needed because library must be loaded before configuration in order to use DB constants.

Variables
array $cpw_vhcs_connect_opts (line 38)

Pear DB connection options

mixed $cpw_vhcs_dsn (line 32)

Connection DSN.

Any format supported by peardb

Functions
cpw_vhcs_dochange (line 81)

Changes password

  • return: Array of error messages.
  • since: 0.4
array cpw_vhcs_dochange (array $data)
  • array $data: data The username/curpw/newpw data.
cpw_vhcs_init (line 57)

Checks if configuration is correct

  • since: 0.4
void cpw_vhcs_init ()

Documentation generated on Sun, 22 Nov 2009 17:36:53 +0200 by phpDocumentor 1.4.3