- 
		Home
	
 
	- 
Frontend File Manager Plugin
 
- 
23.2 (latest)
 
- 
Code
 
- 
Classes
 
-  WPFM_File 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											137 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											18 | 
										
																	
							 
													
								
																			
											| Total lines | 
											884 | 
										
																			
											| Lines of code | 
											521 | 
										
																			
											| Logical lines of code | 
											346 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											63 | 
										
																			
											| Methods | 
											53 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 53
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| delete_file() | 
									A  | 
																	46 | 
													9 | 
													37 | 
							
					
				| thumb_url() | 
									A  | 
																	53 | 
													8 | 
													23 | 
							
					
				| is_share_enable() | 
									S  | 
																	60 | 
													6 | 
													14 | 
							
					
				| download_url() | 
									S  | 
																	52 | 
													5 | 
													23 | 
							
					
				| is_deletable() | 
									S  | 
																	60 | 
													5 | 
													14 | 
							
					
				| delete_file_locally() | 
									S  | 
																	54 | 
													4 | 
													21 | 
							
					
				| update_button() | 
									S  | 
																	55 | 
													4 | 
													17 | 
							
					
				| file_meta() | 
									S  | 
																	61 | 
													4 | 
													12 | 
							
					
				| thumb_image() | 
									S  | 
																	60 | 
													4 | 
													11 | 
							
					
				| __construct() | 
									S  | 
																	53 | 
													3 | 
													24 | 
							
					
				| children() | 
									S  | 
																	56 | 
													3 | 
													17 | 
							
					
				| exist_filenames() | 
									S  | 
																	57 | 
													3 | 
													16 | 
							
					
				| download_button() | 
									S  | 
																	56 | 
													3 | 
													16 | 
							
					
				| delete_button() | 
									S  | 
																	62 | 
													4 | 
													10 | 
							
					
				| is_updateable() | 
									S  | 
																	64 | 
													4 | 
													10 | 
							
					
				| view_button() | 
									S  | 
																	60 | 
													3 | 
													11 | 
							
					
				| price() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| path() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| node_type() | 
									S  | 
																	66 | 
													3 | 
													8 | 
							
					
				| share_button() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| document_viewer_button() | 
									S  | 
																	66 | 
													3 | 
													7 | 
							
					
				| add_file_hash() | 
									S  | 
																	59 | 
													2 | 
													15 | 
							
					
				| file_hash_matched() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| video_duration_formatted() | 
									S  | 
																	59 | 
													2 | 
													13 | 
							
					
				| is_dir() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| name() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| title() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| description() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| price_html() | 
									S  | 
																	68 | 
													2 | 
													8 | 
							
					
				| size() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| file_parent() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| url() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| location() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| created_on() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| shared_info() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| total_downloads() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| owner_image() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| view_context() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| file_instance() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| set_meta() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_meta() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| owner_id() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| amazon_data() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| file_meta_html() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| file_meta_info() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| file_groups() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| title_date() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| video_duration() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| file_detail_html() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| delete_file_from_aws() | 
									S  | 
																	63 | 
													1 | 
													10 | 
							
					
				| set_context() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| rename_file() | 
									S  | 
																	65 | 
													1 | 
													9 |