Completed
Push — master ( 4ef3e4...2cdabf )
by Stephanie
03:15
created

FrmPointers::entries_pointer()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 10

Duplication

Lines 10
Ratio 76.92 %

Importance

Changes 0
Metric Value
cc 1
eloc 10
nc 1
nop 0
dl 10
loc 13
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This class handles the pointers used in the introduction tour.
5
 */
6
class FrmPointers {
7
8
	/**
9
	 * @var object Instance of this class
10
	 */
11
	public static $instance;
12
13
	/**
14
	 * Get the singleton instance of this class
15
	 *
16
	 * @return object
17
	 */
18
	public static function get_instance() {
19
		_deprecated_function( __FUNCTION__, '3.01.03' );
20
21
		if ( ! ( self::$instance instanceof self ) ) {
22
			self::$instance = new self();
23
		}
24
25
		return self::$instance;
26
	}
27
28
	/**
29
	 * Load the introduction tour
30
	 */
31
	public function intro_tour() {
32
		_deprecated_function( __FUNCTION__, '3.01.03' );
33
	}
34
35
	/**
36
	 * Prints the pointer script
37
	 *
38
	 * @param string $selector The CSS selector the pointer is attached to.
39
	 * @param array  $options  The options for the pointer.
40
	 */
41
	public function print_scripts( $selector, $options ) {
42
		_deprecated_function( __FUNCTION__, '3.01.03' );
43
	}
44
}
45