Ejemplo n.º 1
0
 function removeAttachment($attachmentid)
 {
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass($this->internalDB);
     return $attachment->removeAttachment(${$attachmentid});
 }
Ejemplo n.º 2
0
 function removeAttachments($entityId, $fileNames)
 {
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass($this->internalDB);
     return $attachment->removeEntityFilesNotExistsInGivenList($entityId, $this->entityType->getkey(EVENT), $fileNames);
 }
Ejemplo n.º 3
0
 function GetAllAttachnmentsByEntityId($entityId)
 {
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass($this->internalDB);
     $entitytype = new EntityType();
     return $attachment->getallattachments($entityId, $entitytype->getkey("Event"));
 }