public function setUp()
{
/*
* Create tabbed sections.
*/
$this->addSettingSections(array('section_id' => '_collapsible_section_a', 'title' => __('Collapsible Section A', 'admin-page-framework-loader'), 'collapsible' => array('toggle_all_button' => 'top-left')), array('section_id' => '_collapsible_section_b', 'title' => __('Collapsible Section B', 'admin-page-framework-loader'), 'collapsible' => true), array('section_id' => '_collapsible_section_c', 'title' => __('Collapsible Section C', 'admin-page-framework-loader'), 'collapsible' => true));
/*
* Add form fields into the meta box.
*/
$this->addSettingFields('_collapsible_section_a', array('field_id' => 'repeatable_field_in_collapsible_sections', 'title' => __('Repeatable Field', 'admin-page-framework-loader'), 'type' => 'text', 'repeatable' => true, 'sortable' => true));
$this->addSettingFields('_collapsible_section_b', array('field_id' => 'size_in_collapsible_sections', 'title' => __('Size', 'admin-page-framework-loader'), 'type' => 'size'));
$this->addSettingFields('_collapsible_section_c', array('field_id' => 'select_in_collapsible_sections', 'title' => __('Select', 'admin-page-framework-loader'), 'type' => 'select', 'default' => 'b', 'label' => array('a' => 'A', 'b' => 'B', 'c' => 'C')));
}