public function getEmailHash()
	{
		if ($this->_emailHash !== null) {
			return $this->_emailHash;
		} elseif ($this->email === null) {
			throw new InvalidConfigException('No email specified for Gravatar image Widget.');
		}
		return $this->_emailHash = md5(strtolower(trim($this->email)));
	}
public function getEmailHash()
	{
		if ($this->_emailHash !== null) {
			return $this->_emailHash;
		} elseif ($this->email === null) {
			throw new InvalidConfigException('No email specified for Gravatar image Widget.');
		}
		return $this->_emailHash = md5(strtolower(trim($this->email)));
	}
public function getEmailHash ( ) { if ( $ this -> _emailHash !== null ) { return $ this -> _emailHash ; } elseif ( $ this -> email === null ) { throw new InvalidConfigException ( 'No email specified for Gravatar image Widget.' ) ; } return $ this -> _emailHash = md5 ( strtolower ( trim ( $ this -> email ) ) ) ; }
Generates email hash for gravatar url

@link http://en.gravatar.com/site/implement/hash/
@return string md5 hash of the trimmed lowercase [[email]]
@throws \yii\base\InvalidConfigException if no email has been specified.
Generates email hash for gravatar url