浏览代码

Add function documentation - refs BT#8441

Francis Gonzales 10 年之前
父节点
当前提交
3524bc024f
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      main/webservices/additional_webservices.php

+ 5 - 0
main/webservices/additional_webservices.php

@@ -82,6 +82,10 @@ function wsConvertPpt($pptData)
     }
 }
 
+/**
+ * @param $directoryPath
+ * @return bool
+ */
 function deleteDirectory($directoryPath)
 {
     $files = array_diff(scandir($directoryPath), array('.','..'));
@@ -99,6 +103,7 @@ $options = array(
     'uri' => $webPath,
     'location' => $webCodePath . 'webservices/additional_webservices.php'
 );
+
 $soapServer = new SoapServer(NULL, $options);
 $soapServer->addFunction('wsConvertPpt');
 $soapServer->handle();