original_string: public function getNamedUsersList($url)
      {
          $out = '';
          $conditions = ['and',
              [Activity::tableName() . '.anonymous' => 0],
              ['is not', 'user_id', null],
              ['like', 'url', $url . '%', false],
              ['>=', Activity::tableName() . '.updated_at', time() - 5 * 60]
          ];
  
          if (!Podium::getInstance()->user->isGuest) {
              $this->_guest = false;
              $me = User::findMe();
              $conditions[] = ['!=', 'user_id', $me->id];
              if (!empty($me->meta) && $me->meta->anonymous == 0) {
                  $out .= $me->podiumTag . ' ';
              } else {
                  $this->_anon = true;
              }
          }
  
          $users = Activity::find()
                      ->joinWith(['user'])
                      ->where($conditions);
          foreach ($users->each() as $user) {
              $out .= $user->user->podiumTag . ' ';
          }
  
          return $out;
      }
code: public function getNamedUsersList($url)
      {
          $out = '';
          $conditions = ['and',
              [Activity::tableName() . '.anonymous' => 0],
              ['is not', 'user_id', null],
              ['like', 'url', $url . '%', false],
              ['>=', Activity::tableName() . '.updated_at', time() - 5 * 60]
          ];
  
          if (!Podium::getInstance()->user->isGuest) {
              $this->_guest = false;
              $me = User::findMe();
              $conditions[] = ['!=', 'user_id', $me->id];
              if (!empty($me->meta) && $me->meta->anonymous == 0) {
                  $out .= $me->podiumTag . ' ';
              } else {
                  $this->_anon = true;
              }
          }
  
          $users = Activity::find()
                      ->joinWith(['user'])
                      ->where($conditions);
          foreach ($users->each() as $user) {
              $out .= $user->user->podiumTag . ' ';
          }
  
          return $out;
      }
code_tokens: public function getNamedUsersList ( $ url ) { $ out = '' ; $ conditions = [ 'and' , [ Activity :: tableName ( ) . '.anonymous' => 0 ] , [ 'is not' , 'user_id' , null ] , [ 'like' , 'url' , $ url . '%' , false ] , [ '>=' , Activity :: tableName ( ) . '.updated_at' , time ( ) - 5 * 60 ] ] ; if ( ! Podium :: getInstance ( ) -> user -> isGuest ) { $ this -> _guest = false ; $ me = User :: findMe ( ) ; $ conditions [ ] = [ '!=' , 'user_id' , $ me -> id ] ; if ( ! empty ( $ me -> meta ) && $ me -> meta -> anonymous == 0 ) { $ out .= $ me -> podiumTag . ' ' ; } else { $ this -> _anon = true ; } } $ users = Activity :: find ( ) -> joinWith ( [ 'user' ] ) -> where ( $ conditions ) ; foreach ( $ users -> each ( ) as $ user ) { $ out .= $ user -> user -> podiumTag . ' ' ; } return $ out ; }
docstring: Returns formatted list of named users browsing given url group.
  @param string $url
  @return string
  @since 0.2
docstring_tokens: Returns formatted list of named users browsing given url group .