You are here

constant REGCODE_VALIDITY_NOTEXISTING in Registration codes 5.3

Same name and namespace in other branches
  1. 8 regcode.module \REGCODE_VALIDITY_NOTEXISTING
  2. 6.2 regcode.module \REGCODE_VALIDITY_NOTEXISTING
  3. 6 regcode.api.php \REGCODE_VALIDITY_NOTEXISTING
  4. 7.2 regcode.module \REGCODE_VALIDITY_NOTEXISTING
  5. 7 regcode.module \REGCODE_VALIDITY_NOTEXISTING

@file The main module file of the registration code module

regcode.module is kept on a lean footprint and thus contains only the main logic necessary for the basic work:

  • registers menu-items/pages for administration of registration codes
  • handles registration code input and validation upon user registration in Drupal
  • delegates to include-files where necessary

Initial written by nevets (http://drupal.org/user/12856). See http://drupal.org/node/85861 for details. Edited and hacked on by colan (http://drupal.org/user/58704). Updated to Drupal 5.x by kaushik_sarkar (http://drupal.org/user/95377). rolebased.patch by ??? Completely reworked and refactored for db-storage and new feature set by danielnolde

2 uses of REGCODE_VALIDITY_NOTEXISTING
regcode_get_code in ./regcode_api.inc.php
Retrieve a particular registration code identified by given code id, or assign it to a given user
regcode_message in ./regcode_api.inc.php
Return text message requested by given identifier/constant

File

./regcode.module, line 24
The main module file of the registration code module

Code

define('REGCODE_VALIDITY_NOTEXISTING', 0);