/[drupal]/contributions/docs/developer/examples/multipage_form_example.module
ViewVC logotype

Diff of /contributions/docs/developer/examples/multipage_form_example.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.8, Sat Apr 8 03:35:39 2006 UTC revision 1.8.6.1, Sat Jul 25 19:46:20 2009 UTC
# Line 1  Line 1 
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().
# Line 17  function multipage_form_example_help($se Line 17  function multipage_form_example_help($se
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  }  }
# Line 42  function multipage_form_example_access($ Line 37  function multipage_form_example_access($
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  /**  /**

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.8.6.1

  ViewVC Help
Powered by ViewVC 1.1.2