Name
mgd_get_attachment -- Get an attachment
Synopsis
object mgd_get_attachment
(int id);
Description
Minimum version: Midgard 1.4 (Bifrost)
Retrieves information on the attachment with id
id
Returns an object describing the attachment if succesfull.
Returns false on failure.
Example
<?php
$attachment = mgd_get_attachment(13);
echo $attachment->name . " " . $attachment->title;
?>