public function __construct(BasePDO $_pdo, FilesystemInterface $_filesystem)
 {
     parent::__construct($_pdo, $_filesystem);
     $this->valid_mime_types = ["image/png", "image/jpeg", "image/jpeg", "image/pjpeg", "image/x-png"];
     $this->valid_extensions = ["jpeg", "jpg", "png"];
     $this->is_image = true;
 }
 public function __construct(BasePDO $_pdo, FilesystemInterface $_filesystem)
 {
     parent::__construct($_pdo, $_filesystem);
     $this->valid_mime_types = ["application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.openxmlformats-officedocument.presentationml.template", "application/vnd.openxmlformats-officedocument.spreadsheetml.template", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-powerpoint.presentation.macroEnabled.12", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12", "application/vnd.ms-excel.sheet.binary.macroEnabled.12", "application/vnd.ms-powerpoint.addin.macroEnabled.12", "application/vnd.ms-excel.template.macroEnabled.12", "application/vnd.ms-word.document.macroEnabled.12", "application/vnd.ms-word.template.macroEnabled.12", "application/vnd.ms-excel.sheet.macroEnabled.12", "application/vnd.ms-excel.addin.macroEnabled.12", "application/msword", "application/vnd.ms-excel", "application/x-iwork-numbers-sffnumbers", "application/x-iwork-keynote-sffkey", "application/x-iwork-pages-sffpages", "application/vnd.ms-powerpoint", "application/pdf", "text/plain"];
     $this->valid_extensions = ["doc", "dot", "docx", "dotx", "docm", "dotm", "xls", "xlt", "xla", "xlsx", "xltx", "xlsm", "xltm", "xlam", "xlsb", "ppt", "pot", "pps", "ppa", "pptx", "pdf", "potx", "ppsx", "ppam", "pptm", "potm", "ppsm", "pages", "keynote", "numbers", "txt"];
     $this->is_image = false;
 }