public function getUserAvatarUrl() { $data = parent::getUserAvatarUrl(); while (is_array($data)) { $data = current($data); } return $data; }
public static function getViewerId() { if (null === self::$_viewerId) { self::$_viewerId = OW::getUser()->getId(); } return self::$_viewerId; }