Open Source Content Management Framework

MidgardAttachment

  1. Attachment methods and functions
  2. Deprecated attachment functions

Attachments, also known as blobs, can be used to administer and serve out arbitrary data with Midgard. This will typically be used for images, sounds, flash movies, etc. and for files available for download.

Attachments can be connected to any kind of resource, and attachments to page records will be served out directly based on their name.

Attachment methods and functions

  • $object->createattachment - Create an attachment record
  • $object->deleteattachment - Delete an attachment record
  • $object->getattachment - Instantinate an attachment object
  • $object->listattachments - List object's attachments
  • $object->updateattachment - Update an attachment record
  • $object->openattachment - Open file handle to the attachment
  • $object->serveattachment - Serve attachment contents
  • mgd_stat_attachment

Deprecated attachment functions

Designed by Nemein, hosted by Kafit