bergie / midcom

MVC framework for PHP and the Midgard content repository

bergie (author)
Wed Jun 24 21:57:52 -0700 2009
commit  afd3f46b73d85a8d425b845a593a65afd8afb5e3
tree    681bcb7d31b4da4eaecb1c993c3ca2e01fde0dfd
parent  320e0614676db7a65372a5d321d02c570fde2668
midcom / midcom_core / services / dispatcher.php
100644 33 lines (26 sloc) 0.866 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* @package midcom_core
* @author The Midgard Project, http://www.midgard-project.org
* @copyright The Midgard Project, http://www.midgard-project.org
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
*/
 
/**
* Dispatcher for MidCOM 3
*
* Dispatcher is the heart of the component architecture. It is responsible for mapping requests to components
* and their specific controllers and calling those.
*
* @package midcom_core
*/
interface midcom_core_services_dispatcher
{
    public function __construct();
    
    public function populate_environment_data();
    
    public function generate_request_identifier();
    
    public function get_routes();
    
    public function initialize($component);
    
    public function dispatch();
    
    public function generate_url($route_id, array $args);
}
?>