(Midgard 1.4.2 'Bifrost')
mgd_get_attachment -- Get an attachment
Description
object mgd_get_attachment
(int id)
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.
<?php
$attachment = mgd_get_attachment(13);
echo $attachment->name . " " . $attachment->title;
?>
|