File preview object, it's used to preview different files in browser which browse usually doesn't support.
Adding new files handler:
Add record to 'sys_objects_file_handlers' table:
- object: name of the file handler object, in the format: vendor prefix, underscore, module prefix, underscore, internal identifier or nothing; for example: bx_abode_pdf - custom file handler from Abode to display PDF files in browser.
- title: file handler title
- override_class_name: user defined class name which is derived from one of base file handler class.
- override_class_file: the location of the user defined class, leave it empty if class is located in system folders.
Example of usage
Display file preview:
if ($oFileHandler)
echo $oFileHandler->display ();
static getObjectInstanceByFile($sFileName)
Definition BxDolFileHandler.php:88