1 | <?php |
||
13 | class Jetpack_Sync_Main { |
||
14 | /** |
||
15 | * Holds the singleton instance of this class. |
||
16 | * |
||
17 | * @var Jetpack_Sync_Main |
||
18 | */ |
||
19 | private static $instance; |
||
20 | |||
21 | /** |
||
22 | * The connection manager object. |
||
23 | * |
||
24 | * @var Connection_Manager |
||
25 | */ |
||
26 | private $connection_manager; |
||
27 | |||
28 | /** |
||
29 | * Singleton initializator. |
||
30 | * |
||
31 | * @static |
||
32 | * @access public |
||
33 | * |
||
34 | * @return Jetpack_Sync_Main The singleton instance of this class. |
||
35 | */ |
||
36 | public static function init() { |
||
43 | |||
44 | /** |
||
45 | * Constructor. Initializes the main sync hooks. |
||
46 | * |
||
47 | * @access private |
||
48 | */ |
||
49 | private function __construct() { |
||
66 | |||
67 | /** |
||
68 | * Set the connection manager object. |
||
69 | * |
||
70 | * @param Connection_Manager $connection_manager The connection manager object. |
||
71 | */ |
||
72 | public function set_connection_manager( Connection_Manager $connection_manager ) { |
||
75 | |||
76 | /** |
||
77 | * Set the connection manager object. |
||
78 | * |
||
79 | * @return Connection_Manager $connection_manager The connection manager object. |
||
80 | */ |
||
81 | public function get_connection_manager() { |
||
84 | } |
||
85 |