PATH:
home
/
lab2454c
/
mact34.com
/
wp-content
/
plugins
/
jetpack
/
vendor
/
automattic
/
jetpack-sync
/
src
<?php /** * Sync utils. * * @package automattic/jetpack-sync */ namespace Automattic\Jetpack\Sync; /** * Class for sync utilities. */ class Utils { /** * Retrieve the values of sync items. * * @access public * @static * * @param array $items Array of sync items. * @return array Array of sync item values. */ public static function get_item_values( $items ) { return array_map( array( __CLASS__, 'get_item_value' ), $items ); } /** * Retrieve the IDs of sync items. * * @access public * @static * * @param array $items Array of sync items. * @return array Array of sync item IDs. */ public static function get_item_ids( $items ) { return array_map( array( __CLASS__, 'get_item_id' ), $items ); } /** * Get the value of a sync item. * * @access private * @static * * @param array $item Sync item. * @return mixed Sync item value. */ private static function get_item_value( $item ) { return $item->value; } /** * Get the ID of a sync item. * * @access private * @static * * @param array $item Sync item. * @return int Sync item ID. */ private static function get_item_id( $item ) { return $item->id; } }
[-] class-functions.php
[edit]
[-] class-rest-endpoints.php
[edit]
[-] class-rest-sender.php
[edit]
[-] class-settings.php
[edit]
[-] class-queue.php
[edit]
[-] class-lock.php
[edit]
[+]
..
[-] class-actions.php
[edit]
[-] class-json-deflate-array-codec.php
[edit]
[-] class-simple-codec.php
[edit]
[-] class-utils.php
[edit]
[-] class-main.php
[edit]
[+]
modules
[-] class-modules.php
[edit]
[-] class-sender.php
[edit]
[-] class-defaults.php
[edit]
[+]
replicastore
[-] class-listener.php
[edit]
[-] class-replicastore.php
[edit]
[-] class-users.php
[edit]
[-] class-queue-buffer.php
[edit]
[-] class-health.php
[edit]
[-] interface-replicastore.php
[edit]
[-] interface-codec.php
[edit]
[-] class-server.php
[edit]