Class Laika_Avatar

Description

Laika_Avatar class.

  • extends: Laika

Located in /library/module/user/Avatar.php (line 22)

Laika
   |
   --Laika_Avatar
Method Summary
static String get_gravatar (string $email, string $s, [string $d = ''], [string $r = 'g'], [boole $img = true], [array $atts = array()])
static string img (string $email, int $size)
Methods
static method get_gravatar (line 59)

Get either a Gravatar URL or complete image tag for a specified email address.

  • return: containing either just a URL or a complete image tag
  • source: http://gravatar.com/site/implement/images/php/
  • access: public
static String get_gravatar (string $email, string $s, [string $d = ''], [string $r = 'g'], [boole $img = true], [array $atts = array()])
  • string $email: The email address
  • string $s: Size in pixels, defaults to 80px [ 1 - 512 ]
  • string $d: Default imageset to use [ 404 | mm | identicon | monsterid | wavatar | retro ]
  • string $r: Maximum rating (inclusive) [ g | pg | r | x ]
  • boole $img: True to return a complete IMG tag False for just the URL
  • array $atts: Optional, additional key/value attributes to include in the IMG tag
static method img (line 43)

img function.

  • access: public
static string img (string $email, int $size)
  • string $email
  • int $size

Redefinition of:
Laika::img()
img function.

Inherited Methods

Inherited From Laika

Laika::__construct()
Laika::from_array()
Laika::img()
Laika::link_to()
Laika::pop_assoc()
Laika::pop_index()
Laika::redirect_to()
Laika::reflect()
Laika::release()
Laika::to_array()
Laika::version()
Laika::__call()
Laika::__get()
Laika::__set()
Class Constants

Inherited Constants

Inherited from Laika

Laika::LAIKA_RELEASE
Laika::LAIKA_VERSION

Documentation generated on Sat, 19 May 2012 02:16:57 -0400 by phpDocumentor 1.4.4