Minimum version: Midgard 1.4 (Bifrost)
Gives the same information as the stat PHP function for the attachment with id id.
Returns an array with the following information: device, inode, inode protection mode, number of links, user id of owner, group id owner, [device type if inode device,] size in bytes, time of last access, time of last modification, time of last change, [blocksize for filesystem I/O,] number of blocks allocated.
Returns FALSE on failure.
<?php mgd_stat_attachment(13); ?> |