12 parent::__construct( Title::makeTitle(
NS_FILE,
'Test' ),
20 return $this->dimensions[0];
24 return $this->dimensions[1];
mustRender()
Return true if the file is of a type that can't be directly rendered by typical browsers and needs to...
getMimeType()
Returns the MIME type of the file.
getWidth( $page=1)
Return the width of the image.
__construct( $dimensions, $mime='unknown/unknown')
Call this constructor from child classes.
getPath()
Return the storage path to the file.
getHeight( $page=1)
Return the height of the image.
Implements some public methods and some protected utility functions which are required by multiple ch...
File repository with no files, for performance testing.