PHP Class Newscoop\Storage\Item

Afficher le fichier Open project: sourcefabric/newscoop

Protected Properties

Свойство Type Description
$key string
$metadata array
$storage Newscoop\Storage

Méthodes publiques

Méthode Description
__construct ( string $key, Storage $storage )
__toString ( ) : string
getChangeTime ( ) : integer Get change time
getKey ( ) : string Get key
getName ( ) : string Get name
getSize ( ) : integer Get size
getType ( ) : string Get type
isDir ( ) : boolean Test if item is dir

Private Methods

Méthode Description
getMetadata ( ) : object Get metadata

Method Details

__construct() public méthode

public __construct ( string $key, Storage $storage )
$key string
$storage Newscoop\Storage

__toString() public méthode

public __toString ( ) : string
Résultat string

getChangeTime() public méthode

Get change time
public getChangeTime ( ) : integer
Résultat integer

getKey() public méthode

Get key
public getKey ( ) : string
Résultat string

getName() public méthode

Get name
public getName ( ) : string
Résultat string

getSize() public méthode

Get size
public getSize ( ) : integer
Résultat integer

getType() public méthode

Get type
public getType ( ) : string
Résultat string

isDir() public méthode

Test if item is dir
public isDir ( ) : boolean
Résultat boolean

Property Details

$key protected_oe property

protected string $key
Résultat string

$metadata protected_oe property

protected array $metadata
Résultat array

$storage protected_oe property

protected Newscoop\Storage $storage
Résultat Newscoop\Storage