You are here

protected property oEmbedStream::$_stat in oEmbed 8

Template for stat calls.

All elements must be initialized.

File

src/StreamWrapper/oEmbedStream.php, line 48
Create a oEmbed Stream Wrapper class.

Class

oEmbedStream
@file Create a oEmbed Stream Wrapper class.

Namespace

Drupal\oembed\StreamWrapper

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,
);