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
UrlCleanupController.php
Go to the documentation of this file.
1
<?php
2
3
class
UrlCleanupController
extends
Controller
4
{
5
public
function
actionIndex
(
$url
, $urlType, $siteId)
6
{
7
$this->renderPartial(
"__cleanupDialog"
, array(
8
'url'
=>
$url
,
9
'urlType'
=> $urlType,
10
'siteId'
=> $siteId,
11
));
12
}
13
14
public
function
actionCleanup
()
15
{
16
$r = Yii::app()->request;
17
$command =
new
UrlCleanup
;
18
$command->
cleanupUrlInfo
(
19
$r->getParam(
'siteId'
),
20
$r->getParam(
'url'
),
21
$r->getParam(
'urlType'
),
22
$r->getParam(
'state'
),
23
$r->getParam(
'status'
)
24
);
25
unset($command);
26
Yii::app()->request->redirect($_SERVER[
'HTTP_REFERER'
]);
27
}
28
}
app
protected
controllers
UrlCleanupController.php
Generated on Tue Jun 30 2015 20:12:31 for HCE Project DC service web UI by
1.8.1.2