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/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_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/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 |  |  | 
                                                                        
                 
                                                            
                    
core/db_classes/EE_Import.class.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 59-65 (lines=7) @@ | 
                                                            
                                    | 56 |  | 	 *	@ access public | 
                                                            
                                    | 57 |  | 	 *	@return EE_Import | 
                                                            
                                    | 58 |  | 	 */ | 
                                                            
                                    | 59 |  | 	public static function instance() { | 
                                                            
                                    | 60 |  | 		// check if class object is instantiated | 
                                                            
                                    | 61 |  | 		if ( self::$_instance === NULL  or ! is_object( self::$_instance ) or ! ( self::$_instance instanceof EE_Import )) { | 
                                                            
                                    | 62 |  | 			self::$_instance = new self(); | 
                                                            
                                    | 63 |  | 		} | 
                                                            
                                    | 64 |  | 		return self::$_instance; | 
                                                            
                                    | 65 |  | 	} | 
                                                            
                                    | 66 |  |  | 
                                                            
                                    | 67 |  | 	/** | 
                                                            
                                    | 68 |  | 	 * Resets the importer | 
                                                                        
                 
                                                            
                    
core/EE_Maintenance_Mode.core.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 76-82 (lines=7) @@ | 
                                                            
                                    | 73 |  | 	 *@access public | 
                                                            
                                    | 74 |  | 	 *@return EE_Maintenance_Mode | 
                                                            
                                    | 75 |  | 	 */ | 
                                                            
                                    | 76 |  | 	public static function instance() { | 
                                                            
                                    | 77 |  | 		// check if class object is instantiated | 
                                                            
                                    | 78 |  | 		if ( self::$_instance === NULL  or ! is_object( self::$_instance ) or ! ( self::$_instance instanceof EE_Maintenance_Mode )) { | 
                                                            
                                    | 79 |  | 			self::$_instance = new self(); | 
                                                            
                                    | 80 |  | 		} | 
                                                            
                                    | 81 |  | 		return self::$_instance; | 
                                                            
                                    | 82 |  | 	} | 
                                                            
                                    | 83 |  |  | 
                                                            
                                    | 84 |  | 	/** | 
                                                            
                                    | 85 |  | 	 * Resets maintenance mode (mostly just re-checks whether or not we should be in maintenance mode) |