OSDN Git Service

_onload メソッドはabstract扱いで、_loadConfig はコンストラクタで呼ぶ
[ethna/ethna.git] / skel / app.url_handler.php
1 <?php
2 /**
3  *  {$project_id}_UrlHandler.php
4  *
5  *  @author     {$author}
6  *  @package    {$project_id}
7  *  @version    $Id$
8  */
9
10 /**
11  *  URLHandler class.
12  *
13  *  @author     {$author}
14  *  @access     public
15  *  @package    {$project_id}
16  */
17 class {$project_id}_UrlHandler extends Ethna_UrlHandler
18 {
19     /** @var    array   Action Mapping */
20     var $action_map = array(
21         /*
22         'user'  => array(
23             'user_login' => array(
24                 'path'          => 'login',
25                 'path_regexp'   => false,
26                 'path_ext'      => false,
27                 'option'        => array(),
28             ),
29         ),
30          */
31     );
32
33     /**
34      *  get {$project_id}_UrlHandler class instance.
35      *
36      *  @access public
37      */
38     function &getInstance($class_name = null)
39     {
40         $instance =& parent::getInstance(__CLASS__);
41         return $instance;
42     }
43
44     // {{{ normalize gateway request method.
45     /**
46      *  normalize request(via user defined gateway)
47      *
48      *  @access private
49      */
50     /*
51     function _normalizeRequest_User($http_vars)
52     {
53         return $http_vars;
54     }
55      */
56     // }}}
57
58     // {{{ generate gateway path method.
59     /**
60      *  generate path(via user defined gateway)
61      *
62      *  @access private
63      */
64     /*
65     function _getPath_User($action, $param)
66     {
67         return array("/user", array());
68     }
69      */
70     // }}}
71
72     // {{{ filter 
73     // }}}
74 }
75
76 // vim: foldmethod=marker tabstop=4 shiftwidth=4 autoindent
77 ?>