Current path: home/webdevt/www/cryptoimpot.fr/wp-content/plugins/divi-contact-form-helper/app/Frontend/Request/
?? Go up: /home/webdevt/www/cryptoimpot.fr/wp-content/plugins/divi-contact-form-helper/app/Frontend
<?php
namespace KS_PAC_DCFH\Frontend\Request;
if (!defined('ABSPATH')) {
exit;
}
class Post_Repository
{
private static $_instance;
// Boolean properties
public $save_entry_to_db;
public $save_files_to_db;
public $save_files_to_media;
public $send_files_as_attachment;
public $collect_ip_useragent_details;
public $save_queryparams_to_db;
public $is_zapier_enabled;
public $is_pabbly_enabled;
public $is_custom_message_richtext;
public $is_admin_email_enabled;
public $is_admin_email_from_submitter_email;
public $is_threshold_reached;
public $is_googlerecaptcha_v2_enabled;
public $is_cloudflare_turnstile_enabled;
// String properties
public $contact_form_id;
public $page_id;
public $contact_form_fields_str;
public $sender_email;
public $contact_form_title;
public $entry_number;
public $attached_files_message;
public $zapier_mailbox_address;
public $pabbly_mailbox_address;
public $module_admin_email;
public $admin_email_subject;
public $admin_email_from_name;
public $admin_email_cc;
public $admin_email_bcc;
public $post_payload_endpoint;
public $signature_pad_file;
public $referer_url;
public $ip_address;
public $user_agent;
public $contac_form_num = 0;
// Array properties
public $contact_form_data;
public $contact_form_fields;
public $attachments;
public static function instance(): self
{
if (self::$_instance === null) {
self::$_instance = new self();
}
return self::$_instance;
}
public function reset(): void
{
// Boolean properties
$this->save_entry_to_db = false;
$this->save_files_to_db = false;
$this->save_files_to_media = false;
$this->send_files_as_attachment = false;
$this->collect_ip_useragent_details = false;
$this->save_queryparams_to_db = false;
$this->is_zapier_enabled = false;
$this->is_pabbly_enabled = false;
$this->is_custom_message_richtext = false;
$this->is_admin_email_enabled = false;
$this->is_admin_email_from_submitter_email = false;
$this->is_threshold_reached = false;
$this->is_googlerecaptcha_v2_enabled = false;
$this->is_cloudflare_turnstile_enabled = false;
// String properties
$this->contact_form_id = null;
$this->page_id = null;
$this->contact_form_fields_str = null;
$this->sender_email = null;
$this->contact_form_title = null;
$this->entry_number = null;
$this->attached_files_message = null;
$this->zapier_mailbox_address = null;
$this->pabbly_mailbox_address = null;
$this->module_admin_email = null;
$this->admin_email_subject = null;
$this->admin_email_from_name = null;
$this->admin_email_cc = null;
$this->admin_email_bcc = null;
$this->post_payload_endpoint = null;
$this->signature_pad_file = '';
$this->referer_url = '';
$this->ip_address = '';
$this->user_agent = '';
$this->contac_form_num = 0;
// Array properties
$this->contact_form_data = [];
$this->contact_form_fields = [];
$this->attachments = [];
}
}