original_string: static public function fetchByRemoteID( $remoteID, $mainTranslation = false )
      {
          $tagsList = self::fetchList( array( 'remote_id' => $remoteID ), null, null, $mainTranslation );
  
          if ( is_array( $tagsList ) && !empty( $tagsList ) )
              return $tagsList[0];
  
          return null;
      }
code: static public function fetchByRemoteID( $remoteID, $mainTranslation = false )
      {
          $tagsList = self::fetchList( array( 'remote_id' => $remoteID ), null, null, $mainTranslation );
  
          if ( is_array( $tagsList ) && !empty( $tagsList ) )
              return $tagsList[0];
  
          return null;
      }
code_tokens: static public function fetchByRemoteID ( $ remoteID , $ mainTranslation = false ) { $ tagsList = self :: fetchList ( array ( 'remote_id' => $ remoteID ) , null , null , $ mainTranslation ) ; if ( is_array ( $ tagsList ) && ! empty ( $ tagsList ) ) return $ tagsList [ 0 ] ; return null ; }
docstring: Fetches tag by remote ID
  
  @static
  
  @param string $remoteID
  @param bool $mainTranslation
  
  @return eZTagsObject|null
docstring_tokens: Fetches tag by remote ID