| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
// $Id: multipage_form_example.module,v 1.7 2006/04/02 19:23:47 thehunmonkgroup Exp $ |
// $Id: multipage_form_example.module,v 1.8 2006/04/08 03:35:39 drumm Exp $ |
| 4 |
|
|
| 5 |
/** |
/** |
| 6 |
* Implementation of hook_help(). |
* Implementation of hook_help(). |
| 17 |
/** |
/** |
| 18 |
* Implementation of hook_menu(). |
* Implementation of hook_menu(). |
| 19 |
*/ |
*/ |
| 20 |
function multipage_form_example_menu($may_cache) { |
function multipage_form_example_menu() { |
| 21 |
$items = array(); |
$items['node/add/multipage_form_example'] = array( |
| 22 |
|
'title' => t('multipage form example'), |
| 23 |
if (!$may_cache) { |
'access' => TRUE, |
| 24 |
|
); |
|
$items[] = array('title' => t('multipage form example'), |
|
|
'path' => 'node/add/multipage_form_example', |
|
|
'access' => TRUE, |
|
|
); |
|
|
} |
|
| 25 |
|
|
| 26 |
return $items; |
return $items; |
| 27 |
} |
} |
| 37 |
* Implementation of hook_node_info(). |
* Implementation of hook_node_info(). |
| 38 |
*/ |
*/ |
| 39 |
function multipage_form_example_node_info() { |
function multipage_form_example_node_info() { |
| 40 |
return array('multipage_form_example' => array('name' => t('multipage form example'), 'base' => 'multipage_form_example')); |
return array( |
| 41 |
|
'multipage_form_example' => array( |
| 42 |
|
'name' => t('multipage form example'), |
| 43 |
|
'base' => 'multipage_form_example' |
| 44 |
|
) |
| 45 |
|
); |
| 46 |
} |
} |
| 47 |
|
|
| 48 |
/** |
/** |