HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
AccountModule.php
Go to the documentation of this file.
1
<?php
2
3
class
AccountModule
extends
CWebModule
4
{
5
public
function
init
()
6
{
7
// this method is called when the module is being created
8
// you may place code here to customize the module or the application
9
10
// import the module-level models and components
11
$this->setImport(array(
12
'account.controllers.*'
,
13
'account.models.*'
,
14
'account.components.*'
,
15
'account.helpers.*'
,
16
));
17
18
$this->defaultController =
'AccountUsers'
;
19
}
20
21
public
function
beforeControllerAction
($controller, $action)
22
{
23
if
(parent::beforeControllerAction($controller, $action)) {
24
// this method is called before any module controller action is performed
25
// you may place customized code here
26
return
true
;
27
}
else
{
28
return
false
;
29
}
30
}
31
}
app
protected
modules
account
AccountModule.php
Generated on Tue Jun 30 2015 20:12:35 for HCE Project DC service web UI by
1.8.1.2