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); }
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); }
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); }
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); }