PHP Class Horde_Core_Auth_Signup_Base, horde

Copyright 2002-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: Marko Djukic ([email protected])
Author: Michael Slusarz ([email protected])
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
addSignup ( mixed &$info ) Adds a new user to the system and handles any extra fields that may have been compiled, relying on the hooks.php file.
exists ( string $user ) : boolean Checks if a user exists in the system.
getQueuedSignup ( string $username ) : object Get a user's queued signup information.
getQueuedSignups ( ) : array Get the queued information for all pending signups.
newSignup ( string $name ) : object Return a new signup object.
queueSignup ( mixed &$info ) Queues the user's submitted registration info for later admin approval.
removeQueuedSignup ( string $username ) Remove a queued signup.

Protected Methods

Method Description
_preSignup ( array &$info ) Perform common presignup actions.
_queueSignup ( object $signup ) Queues the user's submitted registration info for later admin approval.

Method Details

_preSignup() protected method

Perform common presignup actions.
protected _preSignup ( array &$info )
$info array Reference to array of parameters.

_queueSignup() abstract protected method

Queues the user's submitted registration info for later admin approval.
abstract protected _queueSignup ( object $signup )
$signup object Signup data.

addSignup() public method

Adds a new user to the system and handles any extra fields that may have been compiled, relying on the hooks.php file.
public addSignup ( mixed &$info )
$info mixed Reference to array of parameters to be passed to hook.

exists() abstract public method

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

getQueuedSignup() abstract public method

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

getQueuedSignups() abstract public method

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

newSignup() abstract public method

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

queueSignup() public method

Queues the user's submitted registration info for later admin approval.
public queueSignup ( mixed &$info )
$info mixed Reference to array of parameters to be passed to hook.

removeQueuedSignup() abstract public method

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