Horde_Core_Auth_Signup_Null
extends Horde_Core_Auth_Signup_Base
in package
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
Tags
Table of Contents
Methods
- addSignup() : mixed
- Adds a new user to the system and handles any extra fields that may have been compiled, relying on the hooks.php file.
- exists() : bool
- Checks if a user exists in the system.
- getQueuedSignup() : object
- Get a user's queued signup information.
- getQueuedSignups() : array<string|int, mixed>
- Get the queued information for all pending signups.
- newSignup() : object
- Return a new signup object.
- queueSignup() : mixed
- Queues the user's submitted registration info for later admin approval.
- removeQueuedSignup() : mixed
- Remove a queued signup.
- _preSignup() : mixed
- Perform common presignup actions.
- _queueSignup() : mixed
- Queues the user's submitted registration info for later admin approval.
Methods
addSignup()
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) : mixed
Parameters
- $info : mixed
-
Reference to array of parameters to be passed to hook.
Tags
exists()
Checks if a user exists in the system.
public
exists(string $user) : bool
Parameters
- $user : string
-
The user to check.
Tags
Return values
bool —True if the user exists.
getQueuedSignup()
Get a user's queued signup information.
public
getQueuedSignup(string $username) : object
Parameters
- $username : string
-
The username to retrieve the queued info for.
Return values
object —The object for the requested signup.
getQueuedSignups()
Get the queued information for all pending signups.
public
getQueuedSignups() : array<string|int, mixed>
Return values
array<string|int, mixed> —An array of objects, one for each signup in the queue.
newSignup()
Return a new signup object.
public
newSignup(string $name) : object
Parameters
- $name : string
-
The signups's name.
Return values
object —A new signup object.
queueSignup()
Queues the user's submitted registration info for later admin approval.
public
queueSignup(mixed &$info) : mixed
Parameters
- $info : mixed
-
Reference to array of parameters to be passed to hook.
Tags
removeQueuedSignup()
Remove a queued signup.
public
removeQueuedSignup(string $username) : mixed
Parameters
- $username : string
-
The user to remove from the signup queue.
_preSignup()
Perform common presignup actions.
protected
_preSignup(array<string|int, mixed> &$info) : mixed
Parameters
- $info : array<string|int, mixed>
-
Reference to array of parameters.
Tags
_queueSignup()
Queues the user's submitted registration info for later admin approval.
protected
_queueSignup(mixed $info) : mixed
Parameters
- $info : mixed
-
Reference to array of parameters to be passed to hook.