- 
		Home
	
 
	- 
Advanced Access Manager – Restricted Content, Users & Roles, Enhanced Security and More
 
- 
7.0.9
 
- 
Code
 
- 
Classes
 
-  AAM_Framework_Service_Posts 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											130 | 
										
																			
											| Dependencies | 
											6 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											973 | 
										
																			
											| Lines of code | 
											506 | 
										
																			
											| Logical lines of code | 
											278 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											313 | 
										
																			
											| Methods | 
											26 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 26
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| _normalize_resource_identifier() | 
									A  | 
																	48 | 
													13 | 
													36 | 
							
					
				| is_password_protected() | 
									A  | 
																	48 | 
													9 | 
													32 | 
							
					
				| is_restricted() | 
									A  | 
																	49 | 
													8 | 
													32 | 
							
					
				| get_password() | 
									A  | 
																	53 | 
													8 | 
													22 | 
							
					
				| is_access_expired() | 
									S  | 
																	50 | 
													7 | 
													29 | 
							
					
				| is_hidden_on() | 
									S  | 
																	50 | 
													7 | 
													28 | 
							
					
				| is_redirected() | 
									S  | 
																	51 | 
													6 | 
													28 | 
							
					
				| is_teaser_message_set() | 
									S  | 
																	51 | 
													6 | 
													28 | 
							
					
				| deny() | 
									S  | 
																	53 | 
													6 | 
													23 | 
							
					
				| allow() | 
									S  | 
																	53 | 
													6 | 
													23 | 
							
					
				| get_teaser_message() | 
									S  | 
																	56 | 
													6 | 
													18 | 
							
					
				| get_redirect() | 
									S  | 
																	56 | 
													6 | 
													18 | 
							
					
				| get_expiration() | 
									S  | 
																	56 | 
													6 | 
													18 | 
							
					
				| is_denied_to() | 
									S  | 
																	52 | 
													5 | 
													26 | 
							
					
				| set_expiration() | 
									S  | 
																	53 | 
													4 | 
													23 | 
							
					
				| hide() | 
									S  | 
																	56 | 
													4 | 
													18 | 
							
					
				| show() | 
									S  | 
																	56 | 
													4 | 
													18 | 
							
					
				| set_password() | 
									S  | 
																	59 | 
													3 | 
													14 | 
							
					
				| reset() | 
									S  | 
																	61 | 
													3 | 
													14 | 
							
					
				| _is_post_expired() | 
									S  | 
																	66 | 
													3 | 
													8 | 
							
					
				| set_teaser_message() | 
									S  | 
																	59 | 
													2 | 
													14 | 
							
					
				| set_redirect() | 
									S  | 
																	59 | 
													2 | 
													14 | 
							
					
				| is_allowed_to() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| aggregate() | 
									S  | 
																	68 | 
													2 | 
													8 | 
							
					
				| is_hidden() | 
									S  | 
																	74 | 
													1 | 
													5 | 
							
					
				| _get_resource() | 
									S  | 
																	75 | 
													1 | 
													5 |