Свойство | Type | Description | |
---|---|---|---|
$currentVersion | integer | The value for option: pressbooks_mock_options_version | |
$defaults | array | Export defaults. | |
$options | array | Export options. |
Méthode | Description | |
---|---|---|
__construct ( array $options ) | Constructor. | |
display ( ) | Display the mock options page description. | |
filterDefaults ( array $defaults ) : array | Filter the array of default values for this set of options | |
getBooleanOptions ( ) : array | Get an array of options which return booleans. | |
getDefaults ( ) | ||
getFloatOptions ( ) : array | Get an array of options which return floats. | |
getIntegerOptions ( ) : array | Get an array of options which return integers. | |
getPredefinedOptions ( ) : array | Get an array of options which return predefined values. | |
getSlug ( ) : string | Get the slug for the mock options page. | |
getStringOptions ( ) : array | Get an array of options which return strings. | |
getTitle ( ) : string | Get the localized title of the mock options page. | |
init ( ) | ||
render ( ) | ||
upgrade ( $version ) |
public __construct ( array $options ) | ||
$options | array | The retrieved options. |
static public filterDefaults ( array $defaults ) : array | ||
$defaults | array | The input array of default values. |
Résultat | array | $defaults |
static public getBooleanOptions ( ) : array | ||
Résultat | array | $options |
static public getFloatOptions ( ) : array | ||
Résultat | array | $options |
static public getIntegerOptions ( ) : array | ||
Résultat | array | $options |
static public getPredefinedOptions ( ) : array | ||
Résultat | array | $options |
static public getStringOptions ( ) : array | ||
Résultat | array | $options |
static public int $currentVersion | ||
Résultat | integer |