MediaFile
in package
Read onlyYes
FinalYes
A live view of a FILE of a media object: path or URL, format and title.
Table of Contents
Methods
- __construct() : mixed
- format() : string|null
- FORM: a media type in 7.0 ("image/jpeg"), a format in 5.x ("jpg"); the 5.5 FORM of the record.
- node() : Node
- path() : string
- The reference: a relative path, a URL; in a GEDZIP, a path inside the archive.
- title() : string|null
Methods
__construct()
public
__construct(Node $node, Node $record) : mixed
Parameters
format()
FORM: a media type in 7.0 ("image/jpeg"), a format in 5.x ("jpg"); the 5.5 FORM of the record.
public
format() : string|null
Return values
string|nullnode()
public
node() : Node
Return values
Nodepath()
The reference: a relative path, a URL; in a GEDZIP, a path inside the archive.
public
path() : string
Return values
stringtitle()
public
title() : string|null