[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 133 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
MimeTypeGuesser:: (5 methods):
getInstance()
reset()
__construct()
register()
guess()
Class: MimeTypeGuesser - X-Ref
A singleton mime type guesser.getInstance() X-Ref |
Returns the singleton instance. return: self |
reset() X-Ref |
Resets the singleton instance. |
__construct() X-Ref |
Registers all natively provided mime type guessers. |
register(MimeTypeGuesserInterface $guesser) X-Ref |
Registers a new mime type guesser. When guessing, this guesser is preferred over previously registered ones. |
guess($path) X-Ref |
Tries to guess the mime type of the given file. The file is passed to each registered mime type guesser in reverse order of their registration (last registered is queried first). Once a guesser returns a value that is not NULL, this method terminates and returns the value. param: string $path The path to the file return: string The mime type or NULL, if none could be guessed |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |