PHP Class Puli\Repository\Api\Resource\ResourceMetadata

Since: 1.0
Author: Bernhard Schussek ([email protected])
Afficher le fichier Open project: puli/repository

Méthodes publiques

Méthode Description
getAccessTime ( ) : integer Returns when the resource was last accessed.
getCreationTime ( ) : integer Returns when the resource was created.
getModificationTime ( ) : integer Returns when the resource was last modified.
getSize ( ) : integer Returns the size of the body in bytes.

Method Details

getAccessTime() public méthode

If this information is not available, the method returns 0.
public getAccessTime ( ) : integer
Résultat integer A UNIX timestamp.

getCreationTime() public méthode

If this information is not available, the method returns 0.
public getCreationTime ( ) : integer
Résultat integer A UNIX timestamp.

getModificationTime() public méthode

If this information is not available, the method returns 0.
public getModificationTime ( ) : integer
Résultat integer A UNIX timestamp.

getSize() public méthode

If this information is not available, the method returns 0.
public getSize ( ) : integer
Résultat integer The body size in bytes.