public __construct ( Ansel_Gallery $gallery, array $images = [] ) | ||
$gallery | Ansel_Gallery | The gallery we are decorating. |
$images | array | An array of image ids that this grouping contains. |
public function __construct(Ansel_Gallery $gallery, $images = array())
{
$this->_gallery = $gallery;
$this->_modeHelper = new Ansel_GalleryMode_Date($this);
$this->data = $this->_gallery->data;
$this->_images = $images;
}