Open Source Content Management System

mgd_stat_attachment

  1. Description

mgd_stat_attachment -- Gives filesystem information about the attachment

Description

array mgd_stat_attachment(int id)

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.

mgd_stat_attachment(13);
Designed by Nemein, hosted by Anykey