PHP Class Jetpack_Sync_Module, jetpack

Afficher le fichier Open project: automattic/jetpack

Méthodes publiques

Méthode Description
enqueue_full_sync_actions ( $config, $max_items_to_enqueue, $state )
estimate_full_sync_actions ( $config )
get_full_sync_actions ( )
get_object_by_id ( $object_type, $id )
get_objects_by_id ( $object_type, $ids )
init_before_send ( )
init_full_sync_listeners ( $callable )
init_listeners ( $callable ) override these to set up listeners and set/reset data/defaults
init_listeners_for_meta_type ( $meta_type, $callable )
init_meta_whitelist_handler ( $meta_type, $whitelist_handler )
name ( )
reset_data ( )
set_defaults ( )
unserialize_meta ( $meta )

Méthodes protégées

Méthode Description
count_actions ( $action_names, $actions_to_count )
enqueue_all_ids_as_action ( $action_name, $table_name, $id_field, $where_sql, $max_items_to_enqueue, $state )
get_check_sum ( $values )
get_metadata ( $ids, $meta_type, $meta_key_whitelist )
get_term_relationships ( $ids )
still_valid_checksum ( $sums_to_check, $name, $new_sum )

Method Details

count_actions() protected méthode

protected count_actions ( $action_names, $actions_to_count )

enqueue_all_ids_as_action() protected méthode

protected enqueue_all_ids_as_action ( $action_name, $table_name, $id_field, $where_sql, $max_items_to_enqueue, $state )

enqueue_full_sync_actions() public méthode

public enqueue_full_sync_actions ( $config, $max_items_to_enqueue, $state )

estimate_full_sync_actions() public méthode

public estimate_full_sync_actions ( $config )

get_check_sum() protected méthode

protected get_check_sum ( $values )

get_full_sync_actions() public méthode

get_metadata() protected méthode

protected get_metadata ( $ids, $meta_type, $meta_key_whitelist )

get_object_by_id() public méthode

public get_object_by_id ( $object_type, $id )

get_objects_by_id() public méthode

public get_objects_by_id ( $object_type, $ids )

get_term_relationships() protected méthode

protected get_term_relationships ( $ids )

init_before_send() public méthode

public init_before_send ( )

init_full_sync_listeners() public méthode

public init_full_sync_listeners ( $callable )

init_listeners() public méthode

override these to set up listeners and set/reset data/defaults
public init_listeners ( $callable )

init_listeners_for_meta_type() public méthode

public init_listeners_for_meta_type ( $meta_type, $callable )

init_meta_whitelist_handler() public méthode

public init_meta_whitelist_handler ( $meta_type, $whitelist_handler )

name() abstract public méthode

abstract public name ( )

reset_data() public méthode

public reset_data ( )

set_defaults() public méthode

public set_defaults ( )

still_valid_checksum() protected méthode

protected still_valid_checksum ( $sums_to_check, $name, $new_sum )

unserialize_meta() public méthode

public unserialize_meta ( $meta )