HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
ResourceDownloadController.php
Go to the documentation of this file.
1 <?php
2 
4 {
5  public function actionIndex($siteId, $url, $urlMd5) {
6  $this->renderPartial('__resourceDownload', array(
7  'siteId' => $siteId,
8  'url' => $url,
9  'urlMd5' => $urlMd5,
10  )
11  );
12  }
13 
14  public function actionDw()
15  {
16 
17  $request = Yii::app()->request;
18  $options = $request->getPost('options');
19  $command = new ResourceDownload;
20  $command->download($options);
21  }
22 }