コード例 #1
0
ファイル: user.php プロジェクト: harieshair/expressaffair
 function removeAttachment($attachmentid)
 {
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass($this->internalDB);
     return $attachment->removeAttachment(${$attachmentid});
 }
コード例 #2
0
ファイル: events.php プロジェクト: harieshair/expressaffair
 function removeAttachments($entityId, $fileNames)
 {
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass($this->internalDB);
     return $attachment->removeEntityFilesNotExistsInGivenList($entityId, $this->entityType->getkey(EVENT), $fileNames);
 }
コード例 #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"));
 }