/**
  * FAQ tab
  *
  * @return void
  */
 function view()
 {
     $faq = Generic_Faq::parse();
     $sections = Generic_Faq::sections();
     $columns = array();
     foreach ($sections as $section => $number) {
         if (!isset($columns[$number])) {
             $columns[$number] = array();
         }
         $columns[$number][] = $section;
     }
     include W3TC_INC_DIR . '/options/faq.php';
 }
 public function w3tc_ajax_faq()
 {
     $sections = Generic_Faq::sections();
     $faq = Generic_Faq::parse();
     $response = array();
     foreach ($sections as $section => $data) {
         $entries = $faq[$section];
         $columns = array_chunk($entries, ceil(count($entries) / 3));
         ob_start();
         include W3TC_INC_OPTIONS_DIR . '/common/help.php';
         $content = ob_get_contents();
         ob_end_clean();
         $response[md5($section)] = $content;
     }
     echo json_encode($response);
 }