\Horde_Core_Auth_Signup_Null

The Null implementation of Horde_Core_Auth_Signup.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://opensource.org/licenses/lgpl-2.1.php

Summary

Methods
Properties
Constants
addSignup()
queueSignup()
exists()
getQueuedSignup()
getQueuedSignups()
removeQueuedSignup()
newSignup()
No public properties found
No constants found
_preSignup()
_queueSignup()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

addSignup()

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.

Parameters

mixed $info

Reference to array of parameters to be passed to hook.

Throws

\Horde_Exception

queueSignup()

queueSignup(mixed  $info) 

Queues the user's submitted registration info for later admin approval.

Parameters

mixed $info

Reference to array of parameters to be passed to hook.

Throws

\Horde_Exception
\Horde_Mime_Exception

exists()

exists(string  $user) : boolean

Checks if a user exists in the system.

Parameters

string $user

The user to check.

Throws

\Horde_Db_Exception

Returns

boolean —

True if the user exists.

getQueuedSignup()

getQueuedSignup(string  $username) : object

Get a user's queued signup information.

Parameters

string $username

The username to retrieve the queued info for.

Returns

object —

The object for the requested signup.

getQueuedSignups()

getQueuedSignups() : array

Get the queued information for all pending signups.

Returns

array —

An array of objects, one for each signup in the queue.

removeQueuedSignup()

removeQueuedSignup(string  $username) 

Remove a queued signup.

Parameters

string $username

The user to remove from the signup queue.

newSignup()

newSignup(string  $name) : object

Return a new signup object.

Parameters

string $name

The signups's name.

Returns

object —

A new signup object.

_preSignup()

_preSignup(array  $info) 

Perform common presignup actions.

Parameters

array $info

Reference to array of parameters.

Throws

\Horde_Exception

_queueSignup()

_queueSignup(mixed  $info) 

Queues the user's submitted registration info for later admin approval.

Parameters

mixed $info

Reference to array of parameters to be passed to hook.