You are here

function regcode_dynamic_help in Registration codes 6.2

Implementation of hook_help().

File

regcode_dynamic/regcode_dynamic.module, line 12
The dynamic code module creates codes on the fly as they are used.

Code

function regcode_dynamic_help($path, $arg) {
  $output = '';

  //declare your output variable
  switch ($path) {
    case 'admin/user/regcode/dynamic':
      $output = '<p>';
      $output .= t('In some systems where thousands or hundreds of thousands ' . 'of codes need to be created, it is impractical to store ' . 'the codes in the regcode system. The regcode_dynamic module ' . 'allows the operator to define an algorithm for validating a ' . 'code. If a user registers with a code that passes this algorithm, ' . 'that code is then created dynamically and assigned to the ' . 'new user.');
      $output .= '</p>';
      break;
  }
  return $output;
}