<?php
/**
 * @package FAQ Manager
 * @copyright Copyright 2003-2017 Zen Cart Development Team
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 */
if (class_exists('AdminRequestSanitizer')) {
    $sanitizer = AdminRequestSanitizer::getInstance();
    $group = array(
        'faq_categories_description' => array('sanitizerType' => 'PRODUCT_DESC_REGEX', 'method' => 'both', 'pages' => array('faq_categories'), 'params' => array()),
        'faq_categories_name' => array('sanitizerType' => 'PRODUCT_DESC_REGEX', 'method' => 'both', 'pages' => array('faq_categories', 'faq'), 'params' => array()),
        'faqs_answer' => array('sanitizerType' => 'PRODUCT_DESC_REGEX', 'method' => 'both', 'pages' => array('faq_manager', 'faq', 'featured_faqs'), 'params' => array()),
        'faqs_name' => array('sanitizerType' => 'PRODUCT_NAME_DEEP_REGEX', 'method' => 'both', 'pages' => array('faq_manager', 'faq', 'featured_faqs'), 'params' => array()),
        );
    $sanitizer->addComplexSanitization($group);
}