PHP Class RTMediaSettings, rtMedia

Exibir arquivo Open project: rtCamp/rtMedia

Public Methods

Method Description
__construct ( ) : void Constructor
allowed_types ( ) : void Show allowed types.
get_default_options ( ) : array Get default options.
image_settings_intro ( ) : void Show image settings intro.
network_notices ( ) : void Show network notices.
privacy_notice ( ) : string Output a checkbox for privacy_notice.
rtmedia_support_intro ( ) : void Output rtmedia_support_intro.
sanitize ( type $input ) : type Sanitizes the settings
sanitize_before_save_options ( type $options ) : type Sanitize before saving the options.
sanitize_options ( type $options ) : type Register Settings.
settings ( ) : void rtmedia settings.

Method Details

__construct() public method

Constructor
public __construct ( ) : void
return void

allowed_types() public method

Show allowed types.
public allowed_types ( ) : void
return void

get_default_options() public method

Get default options.
public get_default_options ( ) : array
return array $defaults

image_settings_intro() public method

Show image settings intro.
public image_settings_intro ( ) : void
return void

network_notices() public method

Show network notices.
public network_notices ( ) : void
return void

privacy_notice() public method

Output a checkbox for privacy_notice.
public privacy_notice ( ) : string
return string $notice

rtmedia_support_intro() public method

Output rtmedia_support_intro.
public rtmedia_support_intro ( ) : void
return void

sanitize() public method

Sanitizes the settings
public sanitize ( type $input ) : type
$input type
return type $input

sanitize_before_save_options() public method

Sanitize before saving the options.
public sanitize_before_save_options ( type $options ) : type
$options type
return type $options

sanitize_options() public method

Register Settings.
public sanitize_options ( type $options ) : type
$options type
return type $options

settings() public method

rtmedia settings.
public settings ( ) : void
return void