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
MainAccountController.php
Go to the documentation of this file.
1
<?php
2
3
class
MainAccountController
extends
Controller
4
{
8
public
function
filters
()
9
{
10
return
array(
11
'accessControl'
,
// perform access control for CRUD operations
12
'postOnly + delete'
,
// we only allow deletion via POST request
13
);
14
}
15
22
public
function
accessRules
()
23
{
24
return
array(
25
array(
'allow'
,
// allow all users to perform actions
26
'actions'
=> array(),
27
'users'
=>
Rights::getAuthorizer
()->getSuperusers(),
28
),
29
array(
'deny'
,
// deny all users
30
'users'
=> array(
'*'
),
31
),
32
);
33
}
34
39
public
$layout
=
'//layouts/column2'
;
40
}
app
protected
modules
account
controllers
MainAccountController.php
Generated on Tue Jun 30 2015 20:12:35 for HCE Project DC service web UI by
1.8.1.2