- 
		Home
	
- 
Pods – Custom Content Types and Fields
- 
2.8.21
- 
Code
- 
Classes
-  PodsField_DateTime 
		
			
				
					
													
								
																			
											| Total Complexity | 145 | 
																			
											| Dependencies | 4 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 1,315 | 
																			
											| Lines of code | 827 | 
																			
											| Logical lines of code | 336 | 
																	
							 
													
								
																			
											| Comment lines | 325 | 
																			
											| Methods | 25 | 
																			
											| Properties | 6 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 25
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| get_format_from_options_for_type() | B | 41 | 15 | 61 | 
					
				| convert_format() | A | 36 | 13 | 85 | 
					
				| options() | A | 28 | 3 | 179 | 
					
				| enqueue_jquery_ui_i18n() | A | 47 | 12 | 34 | 
					
				| convert_format_to_moment_js() | A | 35 | 7 | 96 | 
					
				| createFromFormat() | A | 50 | 10 | 29 | 
					
				| input() | A | 49 | 10 | 28 | 
					
				| convert_date() | A | 50 | 9 | 30 | 
					
				| prepare_options_for_moment_js() | A | 49 | 8 | 31 | 
					
				| format_date() | S | 50 | 7 | 28 | 
					
				| validate() | S | 50 | 6 | 28 | 
					
				| format_time() | S | 50 | 6 | 28 | 
					
				| is_storage_format() | S | 56 | 6 | 19 | 
					
				| format_value_display() | S | 53 | 5 | 22 | 
					
				| pre_save() | S | 59 | 4 | 14 | 
					
				| get_date_formats() | S | 51 | 3 | 27 | 
					
				| get_time_formats() | S | 53 | 3 | 22 | 
					
				| format_display() | S | 56 | 3 | 17 | 
					
				| get_time_formats_24() | S | 59 | 3 | 14 | 
					
				| is_empty() | S | 66 | 3 | 8 | 
					
				| ui() | S | 67 | 3 | 7 | 
					
				| format_datetime() | S | 65 | 3 | 8 | 
					
				| setup() | S | 75 | 1 | 4 | 
					
				| schema() | S | 77 | 1 | 4 | 
					
				| display() | S | 75 | 1 | 4 |