Пример #1
0
 function actionAlbumsViewMy($sParamValue = '', $sParamValue1 = '', $sParamValue2 = '', $sParamValue3 = '')
 {
     $sAction = bx_get('action');
     if ($sAction !== false) {
         require_once 'BxSoundsUploader.php';
         $oUploader = new BxSoundsUploader();
         switch ($sAction) {
             case 'accept_upload':
                 echo $oUploader->serviceAcceptFile();
                 exit;
                 break;
             case 'accept_record':
                 echo $oUploader->serviceAcceptRecordFile();
                 exit;
                 break;
             case 'cancel_file':
                 echo $oUploader->serviceCancelFileInfo();
                 exit;
                 break;
             case 'accept_file_info':
                 echo $oUploader->serviceAcceptFileInfo();
                 exit;
                 break;
             case 'accept_multi_files':
                 echo $oUploader->servicePerformMultiMusicUpload();
                 exit;
                 break;
             default:
                 break;
         }
     } else {
         parent::actionAlbumsViewMy($sParamValue, $sParamValue1, $sParamValue2, $sParamValue3);
     }
 }