public function __construct($oFactory, $sSectionID)
{
// Properties
$this->oFactory = $oFactory;
$this->_setProperties();
// Form fields - the field type pack extension also uses this field.
$oFactory->addSettingFields($sSectionID, array('field_id' => 'custom_field_types', 'title' => __('Custom Field Types', 'admin-page-framework-loader'), 'type' => 'checkbox', 'order' => 13, 'label' => $this->aCustomFieldTypeLabels, 'label_min_width' => '100%', 'select_all_button' => true, 'select_none_button' => true));
/// Hooks
// Register custom field files to the Generator of the framework loader.
add_filter('admin_page_framework_loader_filter_generator_additional_source_directories', array($this, 'replyToSetAdditionalDirectoriesForGenerator'));
// Register a callback to modify archive files.
add_filter('admin_page_framework_loader_filter_generator_file_contents', array($this, 'replyToModifyFileContents'), 10, 4);
}