Maslosoft Staple API
Class Gallery
Gallery
Methods summary
				 public 
				
				
				
			 | 
			|
				 public 
				
				
				
			 | 
			|
				 public 
				
				
				
			 | 
			|
				 public 
				
				
				
			 | 
			|
				 public 
				
				
				
			 | 
			
Constants summary
string | 
				
					
						DefaultPath
					
					 | 
				
					 
						#
						 
				'gallery'
					 | 
			
integer | 
				
					
						DefaultWidth
					
					Default width and height of large image. Should fit nicely on displays  | 
				
					 
						#
						 
				1600
					 | 
			
integer | 
				
					
						DefaultHeight
					
					 | 
				
					 
						#
						 
				1200
					 | 
			
integer | 
				
					
						DefaultThumbWidth
					
					Default thumbnail width and height, should fit nicely in layout  | 
				
					 
						#
						 
				237
					 | 
			
integer | 
				
					
						DefaultThumbHeight
					
					 | 
				
					 
						#
						 
				237
					 | 
			
string | 
				
					
						DefaultThumbCss
					
					 | 
				
					 
						#
						 
				'img-thumbnail img-margins img-responsive'
					 | 
			
Properties summary
				public  
				string
			 | 
			
					$path
				 Path relative to application root  | 
			
				 
					#
					 
			''
				 | 
		
				public  
				integer
			 | 
			
					$width
				 | 
			
				 
					#
					 
			self::DefaultWidth
				 | 
		
				public  
				integer
			 | 
			
					$height
				 | 
			
				 
					#
					 
			self::DefaultHeight
				 | 
		
				public  
				integer
			 | 
			
					$thumbWidth
				 | 
			
				 
					#
					 
			self::DefaultThumbWidth
				 | 
		
				public  
				integer
			 | 
			
					$thumbHeight
				 | 
			
				 
					#
					 
			self::DefaultThumbHeight
				 | 
		
				public  
				string
			 | 
			
					$thumbCss
				 | 
			
				 
					#
					 
			self::DefaultThumbCss
				 | 
		
				public  
				
			 | 
			
					$lg
				 | 
			
				 
					#
					 
			null
				 | 
		
				public  
				integer
			 | 
			
					$md
				 | 
			
				 
					#
					 
			4
				 | 
		
				public  
				integer
			 | 
			
					$sm
				 | 
			
				 
					#
					 
			2
				 | 
		
				public  
				integer
			 | 
			
					$xs
				 | 
			
				 
					#
					 
			2
				 | 
		
				public  
				array
			 | 
			
					$options
				 | 
			
				 
					#
					 
			[
    'path' => self::DefaultPath,
    'width' => self::DefaultWidth,
    'height' => self::DefaultHeight,
    'thumbWidth' => self::DefaultThumbWidth,
    'thumbHeight' => self::DefaultThumbHeight,
    'thumbCss' => self::DefaultThumbCss
]
				 | 
		
				public  
				Maslosoft\MiniView\MiniView
			 | 
			
					$view
				 View  | 
			
				 
					#
					 
			null
				 | 
		
	 API documentation generated by ApiGen