PHP 클래스 Pressbooks\Admin\PublishOptions

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

공개 프로퍼티들

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

공개 메소드들

메소드 설명
__construct ( array $options ) Constructor.
display ( ) Display the publish options page description.
doInitialUpgrade ( )
filterDefaults ( array $defaults ) : array Filter the array of default values for this set of options
getDefaults ( ) : array Get an array of default values for the export options page.
getSlug ( ) : string Get the slug for the publish options page.
getTitle ( ) : string Get the localized title of the export options page.
getUrlOptions ( ) : array Get an array of options which return URLs.
init ( ) Configure the publish options page using the settings API.
render ( )
renderAmazonField ( ) Render the amazon field.
renderBarnesAndNobleField ( ) Render the barnesandnoble field.
renderKoboField ( ) Render the barnesandnoble field.
renderOReillyField ( ) Render the oreilly field.
renderOtherServiceField ( ) Render the ibooks field.
renderiBooksField ( ) Render the ibooks field.
upgrade ( $version )

메소드 상세

__construct() 공개 메소드

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

display() 공개 메소드

Display the publish 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

getDefaults() 정적인 공개 메소드

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

getSlug() 정적인 공개 메소드

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

getTitle() 정적인 공개 메소드

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

getUrlOptions() 정적인 공개 메소드

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

init() 공개 메소드

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

render() 공개 메소드

public render ( )

renderAmazonField() 공개 메소드

Render the amazon field.
public renderAmazonField ( )

renderBarnesAndNobleField() 공개 메소드

Render the barnesandnoble field.

renderKoboField() 공개 메소드

Render the barnesandnoble field.
public renderKoboField ( )

renderOReillyField() 공개 메소드

Render the oreilly field.
public renderOReillyField ( )

renderOtherServiceField() 공개 메소드

Render the ibooks field.

renderiBooksField() 공개 메소드

Render the ibooks field.
public renderiBooksField ( )

upgrade() 공개 메소드

public upgrade ( $version )

프로퍼티 상세

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

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

$defaults 공개적으로 프로퍼티

Publish defaults.
public array $defaults
리턴 array

$options 공개적으로 프로퍼티

Publish options.
public array $options
리턴 array