Пример #1
0
 function removeAttachments($entityId, $fileNames)
 {
     include_once CLASSFOLDER . "/enums/commonenums.php";
     $entityType = new EntityType();
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass($this->internalDB);
     return $attachment->removeEntityFilesNotExistsInGivenList($entityId, $entityType->getkey(EVENT), $fileNames);
 }
Пример #2
0
 function GetAllAttachnmentsByEntityId($entityId)
 {
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass($this->internalDB);
     $entitytype = new EntityType();
     return $attachment->getallattachments($entityId, $entitytype->getkey("Event"));
 }