메소드 |
설명 |
|
__construct ( array $options ) |
Constructor. |
|
display ( ) |
Display the global options tab description. |
|
doInitialUpgrade ( ) |
Remove deprecated keys from global options, clarify two-level TOC key name. |
|
filterDefaults ( array $defaults ) : array |
Filter the array of default values for the Global options tab. |
|
getBooleanOptions ( ) : array |
Get an array of options which return booleans. |
|
getDefaults ( ) : array |
Get an array of default values for the global options tab. |
|
getPredefinedOptions ( ) : array |
Get an array of options which return predefined values. |
|
getSlug ( ) : string |
Get the slug for the global options tab. |
|
getTitle ( ) : string |
Get the localized title of the global options tab. |
|
init ( ) |
Configure the global options tab using the settings API. |
|
render ( ) |
Render the PDF options tab form (NOT USED). |
|
renderChapterNumbersField ( array $args ) |
Render the chapter_numbers checkbox. |
|
renderCopyrightLicenseField ( array $args ) |
Render the copyright_license checkbox. |
|
renderLanguagesField ( array $args ) |
Render the pressbooks_global_typography select. |
|
renderTwoLevelTOCField ( array $args ) |
Render the parse_subsections checkbox. |
|
sanitizeLanguages ( $input ) |
Sanitize the languages (just returns the array or an empty array, as these are predefined values). |
|
upgrade ( integer $version ) |
Upgrade handler for global options. |
|