W3TCGeneric_Page_Faq

The W3 Total Cache W3TC Generic Page Faq class.

Defined (1)

The class is defined in the following location(s).

/Generic_Page_Faq.php  
  1. class Generic_Page_Faq extends Base_Page_Settings { 
  2. /** 
  3. * Current page 
  4. * @var string 
  5. */ 
  6. protected $_page = 'w3tc_faq'; 
  7.  
  8. /** 
  9. * FAQ tab 
  10. * @return void 
  11. */ 
  12. function view() { 
  13. $faq = Generic_Faq::parse(); 
  14. $sections = Generic_Faq::sections(); 
  15.  
  16. $columns = array(); 
  17. foreach ( $sections as $section => $number ) { 
  18. if ( !isset( $columns[$number] ) ) 
  19. $columns[$number] = array(); 
  20. $columns[$number][] = $section; 
  21.  
  22. include W3TC_INC_DIR . '/options/faq.php';