PHP Class Horde_Core_Auth_Signup_Sql, horde

Copyright 2008-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://opensource.org/licenses/lgpl-2.1.php
Author: Duck ([email protected])
Inheritance: extends Horde_Core_Auth_Signup_Base
Mostrar archivo Open project: horde/horde

Protected Properties

Property Type Description
$_params array Configuration parameters.

Public Methods

Method Description
__construct ( ) Constructor.
exists ( string $user ) : boolean Checks if a user exists in the system.
getQueuedSignup ( string $username ) : Horde_Core_Auth_Signup_SqlObject Get a user's queued signup information.
getQueuedSignups ( ) : array Get the queued information for all pending signups.
newSignup ( string $name ) : Horde_Core_Auth_Signup_SqlObject Return a new signup object.
removeQueuedSignup ( string $username ) Remove a queued signup.

Protected Methods

Method Description
_queueSignup ( Horde_Core_Auth_Signup_SqlObject $signup ) Stores the signup data in the backend.

Method Details

__construct() public method

Constructor.
public __construct ( )

_queueSignup() protected method

Stores the signup data in the backend.
protected _queueSignup ( Horde_Core_Auth_Signup_SqlObject $signup )
$signup Horde_Core_Auth_Signup_SqlObject Signup data.

exists() public method

Checks if a user exists in the system.
public exists ( string $user ) : boolean
$user string The user to check.
return boolean True if the user exists.

getQueuedSignup() public method

Get a user's queued signup information.
public getQueuedSignup ( string $username ) : Horde_Core_Auth_Signup_SqlObject
$username string The username to retrieve the queued info for.
return Horde_Core_Auth_Signup_SqlObject $signup The object for the requested signup.

getQueuedSignups() public method

Get the queued information for all pending signups.
public getQueuedSignups ( ) : array
return array An array of signup objects, one for each signup in the queue.

newSignup() public method

Return a new signup object.
public newSignup ( string $name ) : Horde_Core_Auth_Signup_SqlObject
$name string The signups's name.
return Horde_Core_Auth_Signup_SqlObject A new signup object.

removeQueuedSignup() public method

Remove a queued signup.
public removeQueuedSignup ( string $username )
$username string The user to remove from the signup queue.

Property Details

$_params protected_oe property

Configuration parameters.
protected array $_params
return array