You are here

function regcode_admin_page in Registration codes 5.3

Generates requested admin page by including regcode_admin.inc.php containing the resp. admin page form functions and delegating to drupal_get_form

Parameters

page: The identifier if the requested admin page (=form_id of the admin form)

Return value

The rendered output for the requested admin page

1 string reference to 'regcode_admin_page'
regcode_menu in ./regcode.module
Define menu items and page callbacks.

File

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

Code

function regcode_admin_page($page) {
  require_once 'regcode_admin.inc.php';
  return drupal_get_form($page);
}