Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe DegradedUuid
+ Graphe d'héritage de DegradedUuid:

Fonctions membres publiques

 getDateTime ()
 
 getFields ()
 
 getNode ()
 
 getTimeLow ()
 
 getTimestamp ()
 
- Fonctions membres publiques hérités de Uuid
 __construct (array $fields, NumberConverterInterface $converter, CodecInterface $codec)
 
 __toString ()
 
 jsonSerialize ()
 
 serialize ()
 
 __serialize ()
 
 unserialize ($serialized)
 
 __unserialize (array $serialized)
 
 compareTo (UuidInterface $other)
 
 equals ($other)
 
 getBytes ()
 
 getClockSeqHiAndReserved ()
 
 getClockSeqHiAndReservedHex ()
 
 getClockSeqLow ()
 
 getClockSeqLowHex ()
 
 getClockSequence ()
 
 getClockSequenceHex ()
 
 getNumberConverter ()
 
 getDateTime ()
 
 getFields ()
 
 getFieldsHex ()
 
 getHex ()
 
 getInteger ()
 
 getLeastSignificantBits ()
 
 getLeastSignificantBitsHex ()
 
 getMostSignificantBits ()
 
 getMostSignificantBitsHex ()
 
 getNode ()
 
 getNodeHex ()
 
 getTimeHiAndVersion ()
 
 getTimeHiAndVersionHex ()
 
 getTimeLow ()
 
 getTimeLowHex ()
 
 getTimeMid ()
 
 getTimeMidHex ()
 
 getTimestamp ()
 
 getTimestampHex ()
 
 getUrn ()
 
 getVariant ()
 
 getVersion ()
 
 toString ()
 

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de Uuid
static getFactory ()
 
static setFactory (UuidFactoryInterface $factory)
 
static fromBytes ($bytes)
 
static fromString ($name)
 
static fromInteger ($integer)
 
static isValid ($uuid)
 
static uuid1 ($node=null, $clockSeq=null)
 
static uuid3 ($ns, $name)
 
static uuid4 ()
 
static uuid5 ($ns, $name)
 
- Champs de données hérités de Uuid
const NAMESPACE_DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'
 
const NAMESPACE_URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'
 
const NAMESPACE_OID = '6ba7b812-9dad-11d1-80b4-00c04fd430c8'
 
const NAMESPACE_X500 = '6ba7b814-9dad-11d1-80b4-00c04fd430c8'
 
const NIL = '00000000-0000-0000-0000-000000000000'
 
const RESERVED_NCS = 0
 
const RFC_4122 = 2
 
const RESERVED_MICROSOFT = 6
 
const RESERVED_FUTURE = 7
 
const VALID_PATTERN = '^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$'
 
const UUID_TYPE_TIME = 1
 
const UUID_TYPE_IDENTIFIER = 2
 
const UUID_TYPE_HASH_MD5 = 3
 
const UUID_TYPE_RANDOM = 4
 
const UUID_TYPE_HASH_SHA1 = 5
 
- Attributs protégés hérités de Uuid
 $codec
 
 $fields
 
 $converter
 

Description détaillée

DegradedUuid represents an RFC 4122 UUID on 32-bit systems

Voir également
Uuid

Documentation des fonctions membres

◆ getDateTime()

getDateTime ( )

Returns a PHP DateTime object representing the timestamp associated with this UUID.The timestamp value is only meaningful in a time-based UUID, which has version type 1. If this UUID is not a time-based UUID then this method throws UnsupportedOperationException.

Renvoie
DateTime A PHP DateTime representation of the date
Exceptions
UnsupportedOperationExceptionIf this UUID is not a version 1 UUID
UnsatisfiedDependencyExceptionif called in a 32-bit system and Moontoast\Math\BigNumber is not present

Implémente UuidInterface.

Références Uuid\getTimestampHex(), et Uuid\getVersion().

◆ getFields()

getFields ( )

For degraded UUIDs, throws an UnsatisfiedDependencyException when called on a 32-bit system

Exceptions
UnsatisfiedDependencyExceptionif called on a 32-bit system

◆ getNode()

getNode ( )

For degraded UUIDs, throws an UnsatisfiedDependencyException when called on a 32-bit system

Exceptions
UnsatisfiedDependencyExceptionif called on a 32-bit system

◆ getTimeLow()

getTimeLow ( )

For degraded UUIDs, throws an UnsatisfiedDependencyException when called on a 32-bit system

Exceptions
UnsatisfiedDependencyExceptionif called on a 32-bit system

◆ getTimestamp()

getTimestamp ( )

For degraded UUIDs, throws an UnsatisfiedDependencyException when called on a 32-bit system

Exceptions
UnsatisfiedDependencyExceptionif called on a 32-bit system
UnsupportedOperationExceptionIf this UUID is not a version 1 UUID

Références Uuid\getVersion().


La documentation de cette classe a été générée à partir du fichier suivant :