protected property MediaReadOnlyStreamWrapper::$_stat in D7 Media 7.2
Same name and namespace in other branches
- 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::_stat
- 7 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::_stat
- 7.3 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::_stat
Template for stat calls.
All elements must be initialized.
File
- includes/
MediaReadOnlyStreamWrapper.inc, line 42 - Implements a base class for Resource Stream Wrappers.
Class
- MediaReadOnlyStreamWrapper
- A base class for Resource Stream Wrappers.
Code
protected $_stat = array(
0 => 0,
// Device number
'dev' => 0,
1 => 0,
// Inode number
'ino' => 0,
// Inode protection mode. file_unmanaged_delete() requires is_file() to
// return TRUE.
2 => self::S_IFREG,
'mode' => self::S_IFREG,
3 => 0,
// Number of links.
'nlink' => 0,
4 => 0,
// Userid of owner.
'uid' => 0,
5 => 0,
// Groupid of owner.
'gid' => 0,
6 => -1,
// Device type, if inode device *
'rdev' => -1,
7 => 0,
// Size in bytes.
'size' => 0,
8 => 0,
// Time of last access (Unix timestamp).
'atime' => 0,
9 => 0,
// Time of last modification (Unix timestamp).
'mtime' => 0,
10 => 0,
// Time of last inode change (Unix timestamp).
'ctime' => 0,
11 => -1,
// Blocksize of filesystem IO.
'blksize' => -1,
12 => -1,
// Number of blocks allocated.
'blocks' => -1,
);