protected $_modeHelper;
/**
- * The gallery we are decorating
+ * The gallery we are decorating
*
* @var Ansel_Gallery
*/
return $this->_gallery->id;
}
}
+
/**
* Output the HTML for this gallery's tile.
*
* @param array $params Any additional parameters the Ansel_Tile
* object may need.
*/
- public function getTile($parent = null, $style = null, $mini = false,
- $params = array())
+ public function getTile($parent = null, $style = null, $mini = false, $params = array())
{
if (!is_null($parent) && is_null($style)) {
$style = $parent->getStyle();
public function getRecentImages($limit = 10)
{
return $GLOBALS['injector']->getInstance('Ansel_Storage')
- ->getScope()
- ->getRecentImages(array($this->_gallery->id), $limit);
+ ->getScope()
+ ->getRecentImages(array($this->_gallery->id), $limit);
}
/**
*
* @return Ansel_Image The image object corresponding to the given id.
*/
- public function &getImage($id)
+ public function getImage($id)
{
return $GLOBALS['injector']->getInstance('Ansel_Storage')->getScope()->getImage($id);
}
{
return $this->_images;
}
-
}