Jetpack_Tiled_Gallery_Layout_Rectangular

The Jetpack by WordPress.com Jetpack Tiled Gallery Layout Rectangular class.

Defined (1)

The class is defined in the following location(s).

/modules/tiled-gallery/tiled-gallery/tiled-gallery-rectangular.php  
  1. class Jetpack_Tiled_Gallery_Layout_Rectangular extends Jetpack_Tiled_Gallery_Layout { 
  2. protected $type = 'rectangular'; 
  3.  
  4. public function HTML( $context = array() ) { 
  5. $grouper = new Jetpack_Tiled_Gallery_Grouper( $this->attachments ); 
  6. Jetpack_Tiled_Gallery_Shape::reset_last_shape(); 
  7.  
  8. return parent::HTML( array( 'rows' => $grouper->grouped_images ) );