Public Member Functions | ||||
| __construct ($fileName) | ||||
| ||||
| canHighLight () | ||||
| Check if syntax-highlihting is available for file. | ||||
| getDetectedCharset () | ||||
| ||||
| highlight () | ||||
| Experimental! Syntax higlight file using GeSHi. | ||||
| isDownloadDefault () | ||||
| Check if download is default action for this type of file. | ||||
| isImage () | ||||
| Check if file type is image. | ||||
| isPdf () | ||||
| Check if file type is PDF. | ||||
| isTextFile () | ||||
| Check if file is human readable. | ||||
Definition at line 21 of file FbFileType.class.php.
| FbFileType::canHighLight | ( | ) |
Check if syntax-highlihting is available for file.
Definition at line 114 of file FbFileType.class.php.
Referenced by highlight().
| FbFileType::getDetectedCharset | ( | ) |
Definition at line 152 of file FbFileType.class.php.
References CharsetDetector::DEFAULT_MIN_RELEVANCE.
| FbFileType::highlight | ( | ) |
Experimental! Syntax higlight file using GeSHi.
Definition at line 168 of file FbFileType.class.php.
References canHighLight().

| FbFileType::isDownloadDefault | ( | ) |
Check if download is default action for this type of file.
Definition at line 128 of file FbFileType.class.php.
| FbFileType::isImage | ( | ) |
Check if file type is image.
Definition at line 180 of file FbFileType.class.php.
| FbFileType::isPdf | ( | ) |
Check if file type is PDF.
Definition at line 138 of file FbFileType.class.php.
| FbFileType::isTextFile | ( | ) |
Check if file is human readable.
Definition at line 121 of file FbFileType.class.php.
1.5.4