- 
		Home
	
 
	- 
Membership Plugin – Restrict Content
 
- 
3.2.15 (latest)
 
- 
Code
 
- 
Classes
 
-  RCP_Emails 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											51 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											12 | 
										
																	
							 
													
								
																			
											| Total lines | 
											587 | 
										
																			
											| Lines of code | 
											252 | 
										
																			
											| Logical lines of code | 
											96 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											235 | 
										
																			
											| Methods | 
											23 | 
										
																			
											| Properties | 
											11 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 23
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| send() | 
									S  | 
																	53 | 
													6 | 
													21 | 
							
					
				| get_tags() | 
									S  | 
																	37 | 
													1 | 
													95 | 
							
					
				| get_content_type() | 
									S  | 
																	66 | 
													4 | 
													8 | 
							
					
				| setup_email_tags() | 
									S  | 
																	66 | 
													4 | 
													8 | 
							
					
				| build_email() | 
									S  | 
																	56 | 
													2 | 
													17 | 
							
					
				| get_from_name() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| get_from_address() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| get_template() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| get_heading() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| text_to_html() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| parse_tags() | 
									S  | 
																	65 | 
													3 | 
													8 | 
							
					
				| __construct() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| get_payment_id() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_headers() | 
									S  | 
																	65 | 
													2 | 
													8 | 
							
					
				| do_tag() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| __set() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_user_id() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_membership() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_templates() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| generate_preview() | 
									S  | 
																	74 | 
													1 | 
													5 | 
							
					
				| send_before() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| send_after() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| email_tag_exists() | 
									S  | 
																	79 | 
													1 | 
													3 |