PHP Class Jetpack_Sync_Settings, jetpack

Datei anzeigen Open project: automattic/jetpack Class Usage Examples

Public Properties

Property Type Description
$is_doing_cron
$is_importing
$is_sending
$is_syncing
$settings_cache
$valid_settings

Public Methods

Method Description
get_blacklisted_post_types_sql ( ) returns escapted SQL that can be injected into a WHERE clause
get_comments_filter_sql ( )
get_setting ( $setting ) autoloaded on page load rather than re-queried every time.
get_settings ( ) some settings can be expensive to compute - let's cache them
get_whitelisted_comment_meta_sql ( )
get_whitelisted_post_meta_sql ( )
is_doing_cron ( )
is_importing ( )
is_sending ( )
is_syncing ( )
reset_data ( )
set_doing_cron ( $is_doing_cron )
set_importing ( $is_importing )
set_is_sending ( $is_sending )
set_is_syncing ( $is_syncing )
update_settings ( $new_settings )

Method Details

get_blacklisted_post_types_sql() static public method

returns escapted SQL that can be injected into a WHERE clause
static public get_blacklisted_post_types_sql ( )

get_comments_filter_sql() static public method

static public get_comments_filter_sql ( )

get_setting() static public method

autoloaded on page load rather than re-queried every time.
static public get_setting ( $setting )

get_settings() static public method

some settings can be expensive to compute - let's cache them
static public get_settings ( )

get_whitelisted_comment_meta_sql() static public method

get_whitelisted_post_meta_sql() static public method

static public get_whitelisted_post_meta_sql ( )

is_doing_cron() static public method

static public is_doing_cron ( )

is_importing() static public method

static public is_importing ( )

is_sending() static public method

static public is_sending ( )

is_syncing() static public method

static public is_syncing ( )

reset_data() static public method

static public reset_data ( )

set_doing_cron() static public method

static public set_doing_cron ( $is_doing_cron )

set_importing() static public method

static public set_importing ( $is_importing )

set_is_sending() static public method

static public set_is_sending ( $is_sending )

set_is_syncing() static public method

static public set_is_syncing ( $is_syncing )

update_settings() static public method

static public update_settings ( $new_settings )

Property Details

$is_doing_cron static_oe public_oe property

static public $is_doing_cron

$is_importing static_oe public_oe property

static public $is_importing

$is_sending static_oe public_oe property

static public $is_sending

$is_syncing static_oe public_oe property

static public $is_syncing

$settings_cache static_oe public_oe property

static public $settings_cache

$valid_settings static_oe public_oe property

static public $valid_settings