original_string: public function getGravatar($email, $size = null, $rating = null, $default = null, $secure = null)
      {
          $hash = $this->getHash($email);
  
          $map = array(
              's' => $size ?: $this->settings['size'],
              'r' => $rating ?: $this->settings['rating'],
              'd' => $default ?: $this->settings['default'],
          );
  
          if (null === $secure) {
              $secure = $this->settings['secure'];
          }
  
          return ($secure ? 'https://secure' : 'http://www').'.gravatar.com/avatar/'.$hash.'?'.http_build_query(array_filter($map));
      }
code: public function getGravatar($email, $size = null, $rating = null, $default = null, $secure = null)
      {
          $hash = $this->getHash($email);
  
          $map = array(
              's' => $size ?: $this->settings['size'],
              'r' => $rating ?: $this->settings['rating'],
              'd' => $default ?: $this->settings['default'],
          );
  
          if (null === $secure) {
              $secure = $this->settings['secure'];
          }
  
          return ($secure ? 'https://secure' : 'http://www').'.gravatar.com/avatar/'.$hash.'?'.http_build_query(array_filter($map));
      }
code_tokens: public function getGravatar ( $ email , $ size = null , $ rating = null , $ default = null , $ secure = null ) { $ hash = $ this -> getHash ( $ email ) ; $ map = array ( 's' => $ size ? : $ this -> settings [ 'size' ] , 'r' => $ rating ? : $ this -> settings [ 'rating' ] , 'd' => $ default ? : $ this -> settings [ 'default' ] , ) ; if ( null === $ secure ) { $ secure = $ this -> settings [ 'secure' ] ; } return ( $ secure ? 'https://secure' : 'http://www' ) . '.gravatar.com/avatar/' . $ hash . '?' . http_build_query ( array_filter ( $ map ) ) ; }
docstring: Returns a url for a gravatar for a given email address
  
  @param  String  $email
  @param  Integer $size
  @param  String  $rating
  @param  String  $default
  @param  Boolean $secure
  @return String
docstring_tokens: Returns a url for a gravatar for a given email address