- 
		Home
	
- 
LearnPress – WordPress LMS Plugin
- 
4.2.2
- 
Code
- 
Classes
-  LP_Abstract_Course 
		
			
				
					
													
								
																			
											| Total Complexity | 147 | 
																			
											| Dependencies | 13 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 1,399 | 
																			
											| Lines of code | 594 | 
																			
											| Logical lines of code | 300 | 
																	
							 
													
								
																			
											| Comment lines | 595 | 
																			
											| Methods | 70 | 
																			
											| Properties | 6 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 70
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| get_item_nav() | A | 49 | 9 | 34 | 
					
				| has_sale_price() | S | 56 | 7 | 17 | 
					
				| get_image_url() | S | 56 | 6 | 18 | 
					
				| __construct() | S | 61 | 6 | 12 | 
					
				| get_item_ids() | S | 58 | 5 | 16 | 
					
				| get_instructor_name() | S | 60 | 5 | 14 | 
					
				| get_instructor_html() | S | 56 | 4 | 19 | 
					
				| get_user_duration_html() | S | 55 | 4 | 19 | 
					
				| get_course_price_html() | S | 56 | 4 | 17 | 
					
				| load_data() | S | 46 | 2 | 41 | 
					
				| get_total_user_enrolled() | S | 58 | 3 | 16 | 
					
				| get_total_user_enrolled_or_purchased() | S | 58 | 3 | 16 | 
					
				| get_price() | S | 60 | 3 | 13 | 
					
				| get_faqs() | S | 60 | 3 | 13 | 
					
				| is_viewing_item() | S | 62 | 3 | 12 | 
					
				| count_in_order() | S | 62 | 3 | 11 | 
					
				| get_next_item_html() | S | 55 | 2 | 23 | 
					
				| set_user() | S | 69 | 3 | 7 | 
					
				| get_user() | S | 67 | 3 | 9 | 
					
				| is_no_required_enroll() | S | 67 | 3 | 7 | 
					
				| is_purchasable() | S | 73 | 3 | 4 | 
					
				| get_price_html() | S | 60 | 2 | 14 | 
					
				| has() | S | 60 | 2 | 12 | 
					
				| is() | S | 60 | 2 | 12 | 
					
				| get_passing_condition() | S | 62 | 2 | 12 | 
					
				| get_item_link() | S | 56 | 1 | 17 | 
					
				| refresh() | S | 71 | 2 | 6 | 
					
				| load() | S | 70 | 2 | 7 | 
					
				| get_users_enrolled() | S | 65 | 2 | 9 | 
					
				| get_instructor() | S | 74 | 2 | 4 | 
					
				| get_sale_price() | S | 69 | 2 | 7 | 
					
				| is_in_stock() | S | 67 | 2 | 8 | 
					
				| has_item() | S | 66 | 2 | 8 | 
					
				| get_item() | S | 68 | 2 | 7 | 
					
				| get_author() | S | 73 | 2 | 4 | 
					
				| get_author_display_name() | S | 68 | 2 | 8 | 
					
				| load_curriculum() | S | 80 | 1 | 3 | 
					
				| __isset() | S | 78 | 1 | 3 | 
					
				| __get() | S | 75 | 1 | 4 | 
					
				| get_image() | S | 74 | 1 | 4 | 
					
				| get_permalink() | S | 80 | 1 | 3 | 
					
				| exists() | S | 79 | 1 | 3 | 
					
				| is_publish() | S | 79 | 1 | 3 | 
					
				| is_required_enroll() | S | 80 | 1 | 3 | 
					
				| is_require_enrollment() | S | 75 | 1 | 4 | 
					
				| get_viewing_item() | S | 80 | 1 | 3 | 
					
				| get_fake_students() | S | 79 | 1 | 3 | 
					
				| is_free() | S | 78 | 1 | 3 | 
					
				| get_regular_price() | S | 74 | 1 | 4 | 
					
				| get_regular_price_html() | S | 74 | 1 | 4 | 
					
				| get_origin_price() | S | 81 | 1 | 3 | 
					
				| get_origin_price_html() | S | 81 | 1 | 3 | 
					
				| is_current_item() | S | 80 | 1 | 3 | 
					
				| get_max_students() | S | 70 | 1 | 7 | 
					
				| count_students() | S | 73 | 1 | 5 | 
					
				| get_current_item() | S | 81 | 1 | 3 | 
					
				| get_next_item() | S | 74 | 1 | 4 | 
					
				| get_prev_item() | S | 74 | 1 | 4 | 
					
				| get_prev_item_html() | S | 91 | 1 | 2 | 
					
				| get_preview_items() | S | 78 | 1 | 3 | 
					
				| is_final_quiz() | S | 78 | 1 | 3 | 
					
				| get_final_quiz() | S | 75 | 1 | 4 | 
					
				| set_final_quiz() | S | 80 | 1 | 3 | 
					
				| get_duration() | S | 78 | 1 | 3 | 
					
				| output_args() | S | 82 | 1 | 3 | 
					
				| get_external_link() | S | 78 | 1 | 3 | 
					
				| get_external_link_text() | S | 77 | 1 | 3 | 
					
				| get_tags() | S | 76 | 1 | 3 | 
					
				| get_extra_info() | S | 74 | 1 | 4 | 
					
				| is_featured() | S | 67 | 1 | 8 |