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