web/lib/Zend/View/Helper/Gravatar.php
changeset 807 877f952ae2bd
parent 207 621fa6caec0c
child 1230 68c69c656a2c
--- a/web/lib/Zend/View/Helper/Gravatar.php	Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/View/Helper/Gravatar.php	Thu Mar 21 19:50:53 2013 +0100
@@ -67,9 +67,9 @@
      * @var array
      */
     protected $_options = array(
-        'img_size'    => 80, 
-        'default_img' => self::DEFAULT_MM, 
-        'rating'      => self::RATING_G, 
+        'img_size'    => 80,
+        'default_img' => self::DEFAULT_MM,
+        'rating'      => self::RATING_G,
         'secure'      => null,
     );
 
@@ -113,8 +113,8 @@
 
     /**
      * Configure state
-     * 
-     * @param  array $options 
+     *
+     * @param  array $options
      * @return Zend_View_Helper_Gravatar
      */
     public function setOptions(array $options)
@@ -188,8 +188,8 @@
     {
         switch ($rating) {
             case self::RATING_G:
-            case self::RATING_PG: 
-            case self::RATING_R: 
+            case self::RATING_PG:
+            case self::RATING_R:
             case self::RATING_X:
                 $this->_options['rating'] = $rating;
                 break;
@@ -244,7 +244,7 @@
     public function setSecure($flag)
     {
         $this->_options['secure'] = ($flag === null) ? null : (bool) $flag;
-        return $this;  
+        return $this;
     }
 
     /**
@@ -264,8 +264,8 @@
      * Get attribs of image
      *
      * Warning!
-     * If you set src attrib, you get it, but this value will be overwritten in 
-     * protected method _setSrcAttribForImg(). And finally your get other src 
+     * If you set src attrib, you get it, but this value will be overwritten in
+     * protected method _setSrcAttribForImg(). And finally your get other src
      * value!
      *
      * @return array
@@ -303,7 +303,7 @@
 
     /**
      * Get avatar url (including size, rating and default image oprions)
-     * 
+     *
      * @return string
      */
     protected function _getAvatarUrl()
@@ -336,9 +336,9 @@
     }
 
     /**
-     * Return valid image tag 
+     * Return valid image tag
      *
-     * @return string 
+     * @return string
      */
     public function getImgTag()
     {
@@ -349,7 +349,7 @@
 
         return $html;
     }
-    
+
     /**
      * Return valid image tag
      *