- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.1.4
 
- 
Code
 
- 
Classes
 
-  LP_Course_Item 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											74 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											9 | 
										
																	
							 
													
								
																			
											| Total lines | 
											696 | 
										
																			
											| Lines of code | 
											272 | 
										
																			
											| Logical lines of code | 
											139 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											325 | 
										
																			
											| Methods | 
											29 | 
										
																			
											| Properties | 
											6 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 29
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_item() | 
									A  | 
																	45 | 
													13 | 
													43 | 
							
					
				| get_status_classes() | 
									A  | 
																	49 | 
													9 | 
													33 | 
							
					
				| get_class() | 
									S  | 
																	51 | 
													5 | 
													27 | 
							
					
				| get_status_title() | 
									S  | 
																	53 | 
													4 | 
													23 | 
							
					
				| get_duration() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| is_viewing_question() | 
									S  | 
																	64 | 
													4 | 
													9 | 
							
					
				| get_item_type() | 
									S  | 
																	65 | 
													3 | 
													10 | 
							
					
				| is_preview() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| create_nonce() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| verify_nonce() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| get_format() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| get_permalink() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| set_course() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| get_course_id() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| to_array() | 
									S  | 
																	62 | 
													1 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| get_icon_class() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_title() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| is_visible() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| get_course() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_section() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_section() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_template() | 
									S  | 
																	67 | 
													1 | 
													8 | 
							
					
				| get_nonce_action() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| is_blocked() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| offsetExists() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| offsetGet() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| offsetSet() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| offsetUnset() | 
									S  | 
																	91 | 
													1 | 
													2 |