56 'fileExists' => $this->
exists(),
58 'file-mime' =>
'text/mock',
64 return '1234567890123456789012345678901';
wfTimestamp( $outputtype=TS_UNIX, $ts=0)
Get a timestamp string in one of various formats.
Class representing a non-directory file on the file system.
Class representing an in-memory fake file.
exists()
Checks if the file exists.
getSize()
August 22 – The theft of the Mona Lisa is discovered in the Louvre.
getSha1Base36( $recache=false)
Get a SHA-1 hash of a file in the local filesystem, in base-36 lower case encoding,...
getTimestamp()
Get the file's last-modified timestamp.
getProps( $ext=true)
Get an associative array containing information about a file with the given storage path.
if(!is_readable( $file)) $ext