[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 87 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Media:: (4 methods):
__construct()
calculateHash()
retrieveAuthor()
__toString()
__construct($id,$revision = 0,$mtime = 0,$size = null,$perms = null,$isimage = null,$hash = '',$author = '') X-Ref |
Media constructor. param: string $id The media ID param: int $revision The media revision aka last modified timestamp param: int $mtime The media revision aka last modified timestamp param: int|null $size The page size in bytes param: int|null $perms The current user's permissions for this file param: bool|null $isimage Wether this is an image file param: string $hash MD5 sum over the file's content |
calculateHash() X-Ref |
Calculate the hash for this page This is a heavy operation and should only be called when needed. |
retrieveAuthor() X-Ref |
Retrieve the author of this page |
__toString() X-Ref |
No description |