Xataface  2.0alpha2
Xataface Application Framework
 All Data Structures Namespaces Files Functions Variables Groups Pages
Public Member Functions | Data Fields
dataface_actions_register Class Reference

Public Member Functions

 handle (&$params)
 createRegistrationTable ()
 validateRegistrationForm ($values)
 _fireDelegateMethod ($name, &$record, $params=null)
 processRegistrationForm ($values)

Data Fields

 $form
 $params
 $ontology

Detailed Description

An action that allows users to register for the application.

This action is only enabled if all of the following conditions hold:

  1. Authentication is enabled via the [_auth] section of the conf.ini file.
  2. The allow_register option in the [_auth] section of the conf.ini file is set to 1.

June 4, 2007

Author
Steve Hannah shann.nosp@m.ah@s.nosp@m.fu.ca

Definition at line 32 of file register.php.

Member Function Documentation

_fireDelegateMethod (   $name,
$record,
  $params = null 
)

Definition at line 273 of file register.php.

createRegistrationTable ( )

Creates a table to hold the temporary user registrations.

Definition at line 201 of file register.php.

handle ( $params)

Definition at line 43 of file register.php.

processRegistrationForm (   $values)

Definition at line 298 of file register.php.

validateRegistrationForm (   $values)

Validates the registration form to make sure that it is OK for input. Mainly this just checks for duplicate user names.

Parameters
array$valuesValue map. Usually from $_POST
Returns
mixed PEAR_Error if there is a problem. True otherwise.

Definition at line 227 of file register.php.

Field Documentation

$form

Reference to hold the HTML_QuickForm object that is used as the registration form.

Definition at line 38 of file register.php.

$ontology

Definition at line 40 of file register.php.

$params

Definition at line 39 of file register.php.


The documentation for this class was generated from the following file: