예제 #1
0
 public function getDownloadedSectionId($iblockId, $parentSectionId, array $additionalData = array())
 {
     $metaData = CWebDavIblock::getDroppedMetaData();
     $sectionId = CWebDavIblock::findMetaSection($metaData['name'], $iblockId, $parentSectionId);
     if (!$sectionId) {
         $sectionId = CWebDavIblock::createMetaSection($metaData['name'], $iblockId, $parentSectionId, $additionalData);
     }
     return $sectionId;
 }