boolean $object->updateattachment
(string name, string newname, string title, string mimetype, int [score], int [author])
Minimum version: Midgard 1.4 (Bifrost)
Updates information about a record attachment.
Returns TRUE on success, FALSE on failure.
<?php $topic = mgd_get_topic(123); // topic with id 123 must exist. $topic->updateattachment("oldname","newname", "example","text/html"); ?> |
Method available for: article, element, event, event_member, group, host, member, page, pageelement, pagelink, person, preference, sitegroup, snippet, snippetdir, style and topic objects.