ACL Extension
0.3
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
AclModule.php
Go to the documentation of this file.
1
<?php
2
3
class
AclModule
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
'acl.models.*'
,
13
'acl.components.*'
,
14
));
15
}
16
17
public
function
beforeControllerAction
($controller, $action)
18
{
19
if
(parent::beforeControllerAction($controller, $action))
20
{
21
// this method is called before any module controller action is performed
22
// you may place customized code here
23
return
true
;
24
}
25
else
26
return
false
;
27
}
28
}
Web
exportAcl
acl
AclModule.php
Generated on Sat Jun 9 2012 15:23:10 for ACL Extension by
1.8.1