-
-
-
- isLowercaseHex()
-
-
-
-
-
- Check if a given string is a 64-character lowercase hexadecimal value.
-
-
- public
- isLowercaseHex(string $string) : bool
-
-
-
-
- Parameters
-
- -
- $string
- : string
-
- -
-
-
-
-
-
-
-
-
-
-
-
- isValidTimestamp()
-
-
-
-
-
- Check if a given timestamp is valid.
-
-
- public
- isValidTimestamp(mixed $timestamp) : bool
-
-
-
-
- Parameters
-
- -
- $timestamp
- : mixed
-
- -
-
-
-
-
-
-
-
-
-
-
-
- setAuthors()
-
-
-
-
-
- Set the authors for the Filter object.
-
-
- public
- setAuthors(array<string|int, mixed> $pubkeys) : static
-
-
-
-
- Parameters
-
- -
- $pubkeys
- : array<string|int, mixed>
-
- -
-
-
-
-
-
-
-
- Return values
- static
-
-
-
-
-
- setIds()
-
-
-
-
-
- Set the ids for filtering multiple events.
-
-
- public
- setIds(array<string|int, mixed> $ids) : $this
-
-
-
-
- Parameters
-
- -
- $ids
- : array<string|int, mixed>
-
- -
-
-
-
-
-
-
-
- Return values
- $this
-
-
-
-
-
- setKinds()
-
-
-
-
-
- Set the kinds for the Filter object.
-
-
- public
- setKinds(array<string|int, mixed> $kinds) : static
-
-
-
-
- Parameters
-
- -
- $kinds
- : array<string|int, mixed>
-
- -
-
-
-
-
-
-
-
- Return values
- static
-
-
-
-
-
- setLimit()
-
-
-
-
-
- Set the limit for the Filter object.
-
-
- public
- setLimit(int $limit) : static
-
-
-
-
- Parameters
-
- -
- $limit
- : int
-
- -
-
-
-
-
-
-
-
- Return values
- static
-
-
-
-
-
-
-
- Set the #e tag for the Filter object.
-
-
- public
- setLowercaseETags(array<string|int, mixed> $etags) : Filter
-
-
-
-
- Parameters
-
- -
- $etags
- : array<string|int, mixed>
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set the #p tag for the Filter object.
-
-
- public
- setLowercasePTags(array<string|int, mixed> $ptags) : Filter
-
-
-
-
- Parameters
-
- -
- $ptags
- : array<string|int, mixed>
-
- -
-
-
-
-
-
-
-
-
-
-
-
- setSince()
-
-
-
-
-
- Set since parameter for the Filter object.
-
-
- public
- setSince(int $since) : static
-
-
-
-
- Parameters
-
- -
- $since
- : int
-
- -
-
-
-
-
-
-
-
- Return values
- static
-
-
-
-
-
- setUntil()
-
-
-
-
-
- Set the until for the Filter object.
-
-
- public
- setUntil(int $until) : static
-
-
-
-
- Parameters
-
- -
- $until
- : int
-
- -
-
-
-
-
-
-
-
- Return values
- static
-
-
-
-
-
- toArray()
-
-
-
-
-
- Return an array representation of the object by iterating through its properties.
-
-
- public
- toArray() : array<string|int, mixed>
-
-
-
-
-
-
-
-
- Return values
- array<string|int, mixed>
-
-
-
-
-
-