PHP 클래스 Pressbooks\Admin\ExportOptions

상속: extends Pressbooks\Options
파일 보기 프로젝트 열기: pressbooks/pressbooks

공개 프로퍼티들

프로퍼티 타입 설명
$currentVersion integer The value for option: pressbooks_export_options_version
$defaults array Export defaults.
$options array Export options.

공개 메소드들

메소드 설명
__construct ( array $options ) Constructor.
display ( ) Display the export options page description.
doInitialUpgrade ( )
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 ( ) : array Get an array of default values for the export options page.
getSlug ( ) : string Get the slug for the export options page.
getTitle ( ) : string Get the localized title of the export options page.
init ( ) Configure the export options page using the settings API.
render ( )
renderEmailValidationLogsField ( array $args ) Render the email_validation_logs radio buttons.
upgrade ( $version )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $options )
$options array

display() 공개 메소드

Display the export options page description.
public display ( )

doInitialUpgrade() 공개 메소드

public doInitialUpgrade ( )

filterDefaults() 정적인 공개 메소드

Filter the array of default values for this set of options
static public filterDefaults ( array $defaults ) : array
$defaults array
리턴 array $defaults

getBooleanOptions() 정적인 공개 메소드

Get an array of options which return booleans.
static public getBooleanOptions ( ) : array
리턴 array $options

getDefaults() 정적인 공개 메소드

Get an array of default values for the export options page.
static public getDefaults ( ) : array
리턴 array $defaults

getSlug() 정적인 공개 메소드

Get the slug for the export options page.
static public getSlug ( ) : string
리턴 string $slug

getTitle() 정적인 공개 메소드

Get the localized title of the export options page.
static public getTitle ( ) : string
리턴 string $title

init() 공개 메소드

Configure the export options page using the settings API.
public init ( )

render() 공개 메소드

public render ( )

renderEmailValidationLogsField() 공개 메소드

Render the email_validation_logs radio buttons.
public renderEmailValidationLogsField ( array $args )
$args array

upgrade() 공개 메소드

public upgrade ( $version )

프로퍼티 상세

$currentVersion 정적으로 공개적으로 프로퍼티

The value for option: pressbooks_export_options_version
또한 보기: upgrade()
static public int $currentVersion
리턴 integer

$defaults 공개적으로 프로퍼티

Export defaults.
public array $defaults
리턴 array

$options 공개적으로 프로퍼티

Export options.
public array $options
리턴 array