Example #1
0
 function saveattachments($entity, $entitytype)
 {
     $entity['entity_type'] = $this->EntityType->getkey($entitytype);
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass($this->internalDB);
     return $attachment->updateattachments($entity);
 }
Example #2
0
 function saveattachments($entity)
 {
     $this->entityType = new EntityType();
     $entity['entity_type'] = $this->entityType->getkey(CUSTOMER);
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass();
     return $attachment->updateattachments($entity);
 }
Example #3
0
 function saveattachments($entity)
 {
     $entity['entity_type'] = $this->entityType->getkey(RITUAL);
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass($this->internalDB);
     $entity['is_profile_file'] = 1;
     return $attachment->updateattachments($entity);
 }
Example #4
0
 function saveattachments($entity)
 {
     include_once CLASSFOLDER . "/enums/commonenums.php";
     $entityType = new EntityType();
     $entity['entity_type'] = $entityType->getkey(EVENT);
     include_once CLASSFOLDER . "/attachments.php";
     $attachment = new attachmentclass($this->internalDB);
     return $attachment->updateattachments($entity);
 }