- 
		Home
	
 
	- 
Virtue/Ascend/Pinnacle Toolkit
 
- 
4.9.9 (latest)
 
- 
Code
 
- 
Classes
 
-  CMB2_Utils 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											99 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											16 | 
										
																	
							 
													
								
																			
											| Total lines | 
											659 | 
										
																			
											| Lines of code | 
											300 | 
										
																			
											| Logical lines of code | 
											150 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											298 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_named_size() | 
									B  | 
																	44 | 
													17 | 
													43 | 
							
					
				| image_id_from_url() | 
									A  | 
																	48 | 
													8 | 
													33 | 
							
					
				| concat_attrs() | 
									S  | 
																	56 | 
													7 | 
													15 | 
							
					
				| get_url_from_dir() | 
									S  | 
																	50 | 
													5 | 
													30 | 
							
					
				| timezone_string() | 
									S  | 
																	57 | 
													5 | 
													17 | 
							
					
				| timezone_offset() | 
									S  | 
																	56 | 
													5 | 
													16 | 
							
					
				| get_available_image_sizes() | 
									S  | 
																	57 | 
													5 | 
													15 | 
							
					
				| ensure_array() | 
									S  | 
																	62 | 
													5 | 
													12 | 
							
					
				| php_to_js_dateformat() | 
									S  | 
																	47 | 
													3 | 
													35 | 
							
					
				| isempty() | 
									S  | 
																	77 | 
													4 | 
													3 | 
							
					
				| notempty() | 
									S  | 
																	77 | 
													4 | 
													3 | 
							
					
				| log_if_debug() | 
									S  | 
																	70 | 
													4 | 
													5 | 
							
					
				| normalize_path() | 
									S  | 
																	62 | 
													3 | 
													11 | 
							
					
				| make_valid_time_stamp() | 
									S  | 
																	67 | 
													3 | 
													8 | 
							
					
				| is_valid_time_stamp() | 
									S  | 
																	72 | 
													3 | 
													5 | 
							
					
				| normalize_if_numeric() | 
									S  | 
																	69 | 
													3 | 
													6 | 
							
					
				| url() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| get_timestamp_from_value() | 
									S  | 
																	73 | 
													2 | 
													4 | 
							
					
				| get_file_ext() | 
									S  | 
																	73 | 
													2 | 
													4 | 
							
					
				| get_file_name_from_path() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| filter_empty() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| array_insert() | 
									S  | 
																	71 | 
													1 | 
													5 | 
							
					
				| get_normalized_abspath() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| wrap_escaped_chars() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| wp_at_least() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| is_data_attribute() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| generate_hash() | 
									S  | 
																	77 | 
													1 | 
													3 |