- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.1.6.5
 
- 
Code
 
- 
Classes
 
-  LP_Abstract_Course 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											186 | 
										
																			
											| Dependencies | 
											12 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											2,245 | 
										
																			
											| Lines of code | 
											727 | 
										
																			
											| Logical lines of code | 
											387 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											1,232 | 
										
																			
											| Methods | 
											79 | 
										
																			
											| Properties | 
											7 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 79
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_items() | 
									A  | 
																	48 | 
													10 | 
													32 | 
							
					
				| get_item_nav() | 
									A  | 
																	49 | 
													9 | 
													34 | 
							
					
				| get_item_types() | 
									A  | 
																	49 | 
													9 | 
													31 | 
							
					
				| get_sections() | 
									A  | 
																	51 | 
													8 | 
													26 | 
							
					
				| has_sale_price() | 
									S  | 
																	55 | 
													7 | 
													17 | 
							
					
				| load_curriculum() | 
									S  | 
																	52 | 
													6 | 
													27 | 
							
					
				| 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_price() | 
									S  | 
																	57 | 
													3 | 
													16 | 
							
					
				| 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_price_html() | 
									S  | 
																	60 | 
													2 | 
													14 | 
							
					
				| has() | 
									S  | 
																	60 | 
													2 | 
													12 | 
							
					
				| is() | 
									S  | 
																	60 | 
													2 | 
													12 | 
							
					
				| count_students() | 
									S  | 
																	61 | 
													2 | 
													12 | 
							
					
				| get_item_link() | 
									S  | 
																	56 | 
													1 | 
													17 | 
							
					
				| refresh() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| load() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| 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 | 
							
					
				| get_total_user_enrolled_or_purchased() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| 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 | 
							
					
				| __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 | 
							
					
				| get_total_user_enrolled() | 
									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 |