return $this->_user;
}
- protected $_avatars = array();
+ protected $_avatars;
function getAvatar($width, $height=null)
{
$height = $width;
}
+ if (!isset($this->_avatars)) {
+ $this->_avatars = array();
+ }
+
if (array_key_exists($width, $this->_avatars)) {
return $this->_avatars[$width];
}