/** * Set Allowed File Types * * @access public * @param string extensions of filetypes allowed * @return void */ function set_allowed_types($types) { if ($types == '*') { $this->allowed_types = '*'; } else { parent::set_allowed_types($types); } }