core/db_classes/EE_CSV.class.php 1 location
|
@@ 84-90 (lines=7) @@
|
81 |
|
* @ access public |
82 |
|
* @return EE_CSV |
83 |
|
*/ |
84 |
|
public static function instance ( ) { |
85 |
|
// check if class object is instantiated |
86 |
|
if ( self::$_instance === NULL or ! is_object( self::$_instance ) or ! ( self::$_instance instanceof EE_CSV )) { |
87 |
|
self::$_instance = new self(); |
88 |
|
} |
89 |
|
return self::$_instance; |
90 |
|
} |
91 |
|
|
92 |
|
/** |
93 |
|
* Opens a unicode or utf file (normal file_get_contents has difficulty readin ga unicode file. @see http://stackoverflow.com/questions/15092764/how-to-read-unicode-text-file-in-php |
core/db_classes/EE_Import.class.php 1 location
|
@@ 57-63 (lines=7) @@
|
54 |
|
* @ access public |
55 |
|
* @return EE_Import |
56 |
|
*/ |
57 |
|
public static function instance() { |
58 |
|
// check if class object is instantiated |
59 |
|
if ( self::$_instance === NULL or ! is_object( self::$_instance ) or ! ( self::$_instance instanceof EE_Import )) { |
60 |
|
self::$_instance = new self(); |
61 |
|
} |
62 |
|
return self::$_instance; |
63 |
|
} |
64 |
|
|
65 |
|
/** |
66 |
|
* Resets the importer |
core/EE_Data_Mapper.core.php 1 location
|
@@ 55-61 (lines=7) @@
|
52 |
|
*@ access public |
53 |
|
*@ return class instance |
54 |
|
*/ |
55 |
|
public function &instance() { |
56 |
|
// check if class object is instantiated |
57 |
|
if ( self::$_instance === NULL or ! is_object( self::$_instance ) or ! ( self::$_instance instanceof EE_Data_Mapper )) { |
58 |
|
self::$_instance = new self(); |
59 |
|
} |
60 |
|
return self::$_instance; |
61 |
|
} |
62 |
|
|
63 |
|
|
64 |
|
|
core/EE_Front_Controller.core.php 1 location
|
@@ 62-68 (lines=7) @@
|
59 |
|
* @access public |
60 |
|
* @return EE_Front_Controller |
61 |
|
*/ |
62 |
|
public static function instance() { |
63 |
|
// check if class object is instantiated, and instantiated properly |
64 |
|
if ( self::$_instance === NULL or ! is_object( self::$_instance ) or ! ( self::$_instance instanceof EE_Front_Controller )) { |
65 |
|
self::$_instance = new self(); |
66 |
|
} |
67 |
|
return self::$_instance; |
68 |
|
} |
69 |
|
|
70 |
|
|
71 |
|
|
core/EE_Maintenance_Mode.core.php 1 location
|
@@ 74-80 (lines=7) @@
|
71 |
|
*@access public |
72 |
|
*@return EE_Maintenance_Mode |
73 |
|
*/ |
74 |
|
public static function instance() { |
75 |
|
// check if class object is instantiated |
76 |
|
if ( self::$_instance === NULL or ! is_object( self::$_instance ) or ! ( self::$_instance instanceof EE_Maintenance_Mode )) { |
77 |
|
self::$_instance = new self(); |
78 |
|
} |
79 |
|
return self::$_instance; |
80 |
|
} |
81 |
|
|
82 |
|
/** |
83 |
|
* Resets maintenance mode (mostly just re-checks whether or not we should be in maintenance mode) |
core/EE_Network_Config.core.php 1 location
|
@@ 59-65 (lines=7) @@
|
56 |
|
* @access public |
57 |
|
* @return EE_Network_Config instance |
58 |
|
*/ |
59 |
|
public static function instance() { |
60 |
|
// check if class object is instantiated, and instantiated properly |
61 |
|
if ( self::$_instance === NULL or ! is_object( self::$_instance ) or ! ( self::$_instance instanceof EE_Network_Config )) { |
62 |
|
self::$_instance = new self(); |
63 |
|
} |
64 |
|
return self::$_instance; |
65 |
|
} |
66 |
|
|
67 |
|
|
68 |
|
|
core/EE_Registry.core.php 1 location
|
@@ 157-163 (lines=7) @@
|
154 |
|
*@access public |
155 |
|
*@return EE_Registry instance |
156 |
|
*/ |
157 |
|
public static function instance() { |
158 |
|
// check if class object is instantiated |
159 |
|
if ( self::$_instance === NULL or ! is_object( self::$_instance ) or ! ( self::$_instance instanceof EE_Registry )) { |
160 |
|
self::$_instance = new self(); |
161 |
|
} |
162 |
|
return self::$_instance; |
163 |
|
} |
164 |
|
|
165 |
|
|
166 |
|
|
core/helpers/EEH_Qtip_Loader.helper.php 1 location
|
@@ 33-39 (lines=7) @@
|
30 |
|
*@access public |
31 |
|
*@return EEH_Qtip_Loader instance |
32 |
|
*/ |
33 |
|
public static function instance() { |
34 |
|
// check if class object is instantiated |
35 |
|
if ( self::$_instance === NULL or ! is_object( self::$_instance ) or ! ( self::$_instance instanceof EEH_Qtip_Loader )) { |
36 |
|
self::$_instance = new self(); |
37 |
|
} |
38 |
|
return self::$_instance; |
39 |
|
} |
40 |
|
|
41 |
|
|
42 |
|
|