OSDN Git Service

Remove PHP closing tag
[ethna/ethna.git] / test / skel / skel.action.redirect.php
1 <?php
2 /**
3  *  {$action_path}
4  *
5  *  @author     {$author}
6  *  @package    {$project_id}
7  *  @version    $Id$
8  */
9
10 /**
11  *  {$action_name} Form implementation.
12  *
13  *  @author     {$author}
14  *  @access     public
15  *  @package    {$project_id}
16  */
17 class {$action_form} extends {$project_id}_ActionForm
18 {
19     /**
20      *  @access private
21      *  @var    array   form definition.
22      */
23     var $form = array();
24 }
25
26 /**
27  *  {$action_name} action implementation.
28  *
29  *  @author     {$author}
30  *  @access     public
31  *  @package    {$project_id}
32  */
33 class {$action_class} extends {$project_id}_ActionClass
34 {
35     /**
36      *  preprocess of {$action_name} Action.
37      *
38      *  @access public
39      *  @return string    forward name(null: success.
40      *                                false: in case you want to exit.)
41      */
42     function prepare()
43     {
44         return null;
45     }
46
47     /**
48      *  {$action_name} action implementation.
49      *
50      *  @access public
51      *  @return string  forward name.
52      */
53     function perform()
54     {
55         return array('redirect', 'http://www.ethnatest.example.com');
56     }
57 }
58