Retrieves string representation without user info

@return string
554902
public function display(): string
    {
        $output = sprintf('%s:', $this->scheme);
        if ($this->authority !== null) {
            $output .= sprintf('//%s', $this->host);
            if ($this->port !== null) {
                $output .= sprintf(':%d', $this->port);
            }
        }
        $output .= $this->path;
        if ($this->query !== null) {
            $output .= sprintf('?%s', $this->query);
        }
        if ($this->fragment !== null) {
            $output .= sprintf('#%s', $this->fragment);
        }

        return $output;
    }
251325
public function getHeaderString()
    {
        $parts = [
            $this->name . '=' . rawurlencode($this->value),
            $this->getMaxAgeString(),
            $this->getExpiresString(),
            $this->getDomainString(),
            $this->getPathString(),
            $this->getSecureString(),
            $this->getHttpOnlyString(),
        ];

        $filteredParts = array_filter($parts);

        return implode('; ', $filteredParts);
    }
906271
protected function getQueryString()
  {
    $qs = '?';
    if ($this->preserveQueryString && isset($_GET) && count($_GET) > 0) {
      foreach ($_GET as $key => $value) {
        if ($key != $this->argumentName) {
          $qs .= $key . '=' . $value . '&';
        }
      }
    }
    return $qs;
  }
1342954
public function getMemberDetails()
    {
        if ($user = $this->ChangedBy()) {
            $name = $user->getTitle();
            if ($user->Email) {
                $name .= " <$user->Email>";
            }
            return $name;
        }
    }
994804
protected function getUserString() : string
    {
        $result = 'System';

        $userFields = [
            'name',
            'username',
            'email',
        ];

        $currentUser = User::getCurrentUser();
        if (empty($currentUser) || !is_array($currentUser)) {
            return $result;
        }

        foreach ($userFields as $field) {
            if (!empty($currentUser[$field])) {
                return $currentUser[$field];
            }
        }

        return $result;
    }
655044
public function toString()
    {
        $str = urlencode($this->name) . '=';

        if ((string)$this->value !== '' )
        {
            $str .= urlencode($this->value);

            if ($this->_expire !== 0) {
                $str .= '; expires=' . gmdate(DateTime::COOKIE, $this->_expire);
            }
        }
        else $str .= 'deleted; expires=' . gmdate(DateTime::COOKIE, time() - 31536001);

        if ($this->_path) {
            $str .= '; path=' . $this->_path;
        }

        if ($this->domain !== null) {
            $str .= '; domain=' . $this->domain;
        }

        if ($this->isSecure() === true) {
            $str .= '; secure';
        }

        if ($this->isHttpOnly() === true) {
            $str .= '; httponly';
        }

        return $str;
    }
15872
public function GetString( )
		{
			$ZeroBytePosition = StrPos( $this->Buffer, "\0", $this->Position );
			
			if( $ZeroBytePosition === false )
			{
				return '';
			}
			
			$String = $this->Get( $ZeroBytePosition - $this->Position );
			
			$this->Position++;
			
			return $String;
		}
274262
public function toString()
    {
        $status = sprintf('HTTP/%s %d %s', $this->getVersion(), $this->getStatusCode(), $this->getStatusMessage());

        $str  = trim($status) . "\r\n";
        $str .= $this->getHeaders();
        $str .= "\r\n";
        $str .= $this->getContent();
        return $str;
    }
731701
public function dumpString(): string
    {
        if ($this->header === null) {
            $this->header = new PoHeader;
            $this->header->buildDefaultHeader();
        }
        $output = '';

        $output .= $this->header->dumpEntry();
        foreach ($this->entries as $entry) {
            $output .= $entry->dumpEntry();
        }
        foreach ($this->unkeyedEntries as $entry) {
            $output .= $entry->dumpEntry();
        }
        $output .= "\n";

        return $output;
    }
226041
public function getUserInfo()
    {
        return $this->user ? ($this->pass ? $this->user.':'.$this->pass : $this->user) : '';
    }
655744
public function toString()
    {
        $session = array();
        $session['id'] = $this->id;

        $session = "Session: " . var_export($session, true);

        return $session;
    }
921780
public function getUsername()
    {
        $info = $this->getUserInfo();
        $username = strstr($info, ':', true);

        return rawurldecode($username === false ? $info : $username);
    }
61419
public function getHiddenSid()
    {
        if (($sValue = $this->getViewConfigParam('hiddensid')) === null) {
            $sValue = $this->getSession()->hiddenSid();

            // appending language info to form
            if (($sLang = \OxidEsales\Eshop\Core\Registry::getLang()->getFormLang())) {
                $sValue .= "\n{$sLang}";
            }

            $sValue .= $this->getAdditionalRequestParameters();

            $this->setViewConfigParam('hiddensid', $sValue);
        }

        return $sValue;
    }
637238
public function toString() {
        $str = $this->protocol . '://' . $this->hostName;
        if ($this->protocol==='http' && $this->portNumber==80) {
            //don't add port
        } else if ($this->protocol==='https' && $this->portNumber==443) {
            //don't add port
        } else {
            $str .= ':'. $this->portNumber;
        }
        return $str;
    }
742214
public function getInfoString() : string
   {

      $out = '';
      $haveData = false;

      if ( isset( $this->_attributes[ 'host' ] ) )
      {
         $out = 'host="' . $this->_attributes[ 'host' ] . '"';
         $haveData = true;
      }
      if ( isset( $this->_attributes[ 'port' ] ) )
      {
         $out .= ( $haveData ? '; ' : '' ) . 'port=' . $this->_attributes[ 'port' ];
         $haveData = true;
      }
      if ( isset( $this->_attributes[ 'dbname' ] ) )
      {
         $out .= ( $haveData ? '; ' : '' ) . 'dbname="' . $this->_attributes[ 'dbname' ] . '"';
         $haveData = true;
      }
      if ( isset( $this->_attributes[ 'unix_socket' ] ) )
      {
         $out .= ( $haveData ? '; ' : '' ) . 'unix_socket="' . $this->_attributes[ 'unix_socket' ] . '"';
         $haveData = true;
      }
      if ( isset( $this->_attributes[ 'charset' ] ) )
      {
         $out .= ( $haveData ? '; ' : '' ) . 'charset="' . $this->_attributes[ 'charset' ] . '"';
         $haveData = true;
      }
      $out .= ( $haveData ? '; ' : '' ) . 'user=[' .
              ( empty( $this->_attributes[ 'user' ] ) ? 'un' : '' ) . 'defined]"';
      $out .= ( $haveData ? '; ' : '' ) . 'password=[' .
              ( empty( $this->_attributes[ 'password' ] ) ? 'un' : '' ) . 'defined]"';

      return $out;

   }
213825
public function getInfoString() : string
   {

      $out = '';

      if ( isset( $this->_attributes[ 'db' ] ) )
      {
         $out = 'db="' . $this->_attributes[ 'db' ] . '"';
      }

      return $out;

   }
505810
public function toString()
	{
		// Reflect on class to get private or protected props
		$privateProperties = with(new \ReflectionClass($this))->getProperties(\ReflectionProperty::IS_PROTECTED);

		// Remove each private or protected prop
		foreach ($privateProperties as $prop)
		{
			$name = (string) $prop->name;
			unset($this->$name);
		}

		// Output as json
		return json_encode($this);
	}