public function actionUploadMagazine()
 {
     if (Yii::app()->request->isAjaxRequest) {
         Yii::import('application.modules.portfolio.widgets.PhotoPortfolio.PhotoPortfolioWidget');
         $portfolioWidget = new PhotoPortfolioWidget();
         $portfolioWidget->checkBoxClass = 'hide';
         $portfolioWidget->radiobuttonClass = 'hide';
         $portfolioWidget->uploadPhoto();
     }
 }