-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.class.php
34 lines (30 loc) · 1.01 KB
/
index.class.php
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
34
<?php
require_once dirname(__FILE__) .'/controllers/abstract/repomanmanagercontroller.class.php';
/**
* Per MODx parlance, this file must reside in the directory defined as the namespace's core path.
*
* Some "Department of Redundancy Department" here... the filename & classname here correspond to
* the name of the action. In our case, we use the "index" as the action name, so
* filename = index.class.php
* classname = IndexManagerController
*
* This "primary" controller for the defined action gets called when no
* &action parameter is passed. We use it to define the default controller
* which will then handle the actual processing.
*
*/
class IndexManagerController extends RepomanManagerController {
/**
* Defines the name or path to the default controller to load.
* @return string
*/
public static function getDefaultController() {
return 'home';
}
/*
public function process(array $scriptProperties = array()) {
return 'XXxxxx';
}
*/
}
/*EOF*/