OSDN Git Service

- added _setLanguage(protected) method to Ethna_ViewClass.
[ethna/ethna.git] / skel / app.actionclass.php
1 <?php
2 // vim: foldmethod=marker
3 /**
4  *  {$project_id}_ActionClass.php
5  *
6  *  @author     {$author}
7  *  @package    {$project_id}
8  *  @version    $Id$
9  */
10
11 // {{{ {$project_id}_ActionClass
12 /**
13  *  action execution class
14  *
15  *  @author     {$author}
16  *  @package    {$project_id}
17  *  @access     public
18  */
19 class {$project_id}_ActionClass extends Ethna_ActionClass
20 {
21     /**
22      *  authenticate before executing action.
23      *
24      *  @access public
25      *  @return string  Forward name.
26      *                  (null if no errors. false if we have something wrong.)
27      */
28     function authenticate()
29     {
30         return parent::authenticate();
31     }
32
33     /**
34      *  Preparation for executing action. (Form input check, etc.)
35      *
36      *  @access public
37      *  @return string  Forward name.
38      *                  (null if no errors. false if we have something wrong.)
39      */
40     function prepare()
41     {
42         return parent::prepare();
43     }
44
45     /**
46      *  execute action.
47      *
48      *  @access public
49      *  @return string  Forward name.
50      *                  (we does not forward if returns null.)
51      */
52     function perform()
53     {
54         return parent::perform();
55     }
56 }
57 // }}}
58
59 ?>