getId() public method

Return the Gravatar ID for the specified mail address.
public getId ( string $mail ) : string
$mail string The mail address.
return string The Gravatar ID.
コード例 #1
0
ファイル: GravatarTest.php プロジェクト: raz0rsdge/horde
 /**
  * @expectedException InvalidArgumentException
  */
 public function testInvalidMail()
 {
     $g = new Horde_Service_Gravatar();
     $g->getId(0.0);
 }