- 
		Home
	
- 
LearnPress – WordPress LMS Plugin
- 
4.1.6
- 
Code
- 
Classes
-  LP_Abstract_Course 
		
			
				
					
													
								
																			
											| Total Complexity | 206 | 
																			
											| Dependencies | 12 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 2,177 | 
																			
											| Lines of code | 789 | 
																			
											| Logical lines of code | 422 | 
																	
							 
													
								
																			
											| Comment lines | 1,098 | 
																			
											| Methods | 81 | 
																			
											| Properties | 7 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 81
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| get_item_links() | A | 38 | 13 | 68 | 
					
				| get_items() | A | 48 | 10 | 32 | 
					
				| get_item_nav() | A | 49 | 9 | 34 | 
					
				| get_item_types() | A | 49 | 9 | 30 | 
					
				| get_sections() | A | 51 | 8 | 25 | 
					
				| has_sale_price() | S | 55 | 7 | 17 | 
					
				| get_request_item() | S | 57 | 7 | 15 | 
					
				| load_curriculum() | S | 51 | 6 | 28 | 
					
				| get_image_url() | S | 56 | 6 | 18 | 
					
				| __construct() | S | 61 | 6 | 12 | 
					
				| 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_item_position() | S | 62 | 4 | 11 | 
					
				| get_faqs() | S | 60 | 3 | 13 | 
					
				| is_viewing_item() | S | 62 | 3 | 12 | 
					
				| get_passing_condition() | 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 | 
					
				| get_curriculum_raw() | S | 64 | 3 | 10 | 
					
				| is_purchasable() | S | 71 | 3 | 5 | 
					
				| get_item() | S | 63 | 3 | 10 | 
					
				| get_item_link() | S | 63 | 3 | 10 | 
					
				| get_price_html() | S | 60 | 2 | 14 | 
					
				| has() | S | 60 | 2 | 12 | 
					
				| is() | S | 60 | 2 | 12 | 
					
				| get_price() | S | 62 | 2 | 11 | 
					
				| refresh() | S | 71 | 2 | 6 | 
					
				| load() | S | 68 | 2 | 8 | 
					
				| get_item_ids() | S | 67 | 2 | 8 | 
					
				| 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_author() | S | 73 | 2 | 4 | 
					
				| get_author_display_name() | S | 68 | 2 | 8 | 
					
				| __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 | 75 | 1 | 4 | 
					
				| is_require_enrollment() | S | 81 | 1 | 3 | 
					
				| get_description() | S | 75 | 1 | 4 | 
					
				| get_curriculum() | S | 79 | 1 | 3 | 
					
				| get_viewing_item() | S | 79 | 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 | 
					
				| get_curriculum_items() | S | 80 | 1 | 3 | 
					
				| is_current_item() | S | 80 | 1 | 3 | 
					
				| get_max_students() | S | 70 | 1 | 7 | 
					
				| count_students() | S | 71 | 1 | 6 | 
					
				| get_total_user_enrolled() | S | 76 | 1 | 4 | 
					
				| get_total_user_enrolled_or_purchased() | S | 76 | 1 | 4 | 
					
				| 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_retake_count() | S | 74 | 1 | 4 | 
					
				| get_tags() | S | 76 | 1 | 3 | 
					
				| get_extra_info() | S | 74 | 1 | 4 | 
					
				| is_featured() | S | 67 | 1 | 8 |