From: Chuck Hagenbuch Date: Sat, 21 Aug 2010 01:39:44 +0000 (-0400) Subject: ws/style X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a913f140dfe7eef372a4660431e60ee369243341;p=horde.git ws/style --- diff --git a/ansel/lib/Gallery/Decorator/Date.php b/ansel/lib/Gallery/Decorator/Date.php index 08612dbaf..e717c115c 100644 --- a/ansel/lib/Gallery/Decorator/Date.php +++ b/ansel/lib/Gallery/Decorator/Date.php @@ -16,7 +16,7 @@ class Ansel_Gallery_Decorator_Date protected $_modeHelper; /** - * The gallery we are decorating + * The gallery we are decorating * * @var Ansel_Gallery */ @@ -80,6 +80,7 @@ class Ansel_Gallery_Decorator_Date return $this->_gallery->id; } } + /** * Output the HTML for this gallery's tile. * @@ -89,8 +90,7 @@ class Ansel_Gallery_Decorator_Date * @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(); @@ -111,8 +111,8 @@ class Ansel_Gallery_Decorator_Date 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); } /** @@ -122,7 +122,7 @@ class Ansel_Gallery_Decorator_Date * * @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); } @@ -192,5 +192,4 @@ class Ansel_Gallery_Decorator_Date { return $this->_images; } - }