Documentation

INode

The INode interface is the base interface, and the parent class of both ICollection and IFile.

Tags
copyright

Copyright (C) fruux GmbH (https://fruux.com/)

author

Evert Pot (http://evertpot.com/)

license

http://sabre.io/license/ Modified BSD License

Table of Contents

delete()  : mixed
Deleted the current node.
getLastModified()  : int|null
Returns the last modification time, as a unix timestamp. Return null if the information is not available.
getName()  : string
Returns the name of the node.
setName()  : mixed
Renames the node.

Methods

delete()

Deleted the current node.

public delete() : mixed
Return values
mixed

getLastModified()

Returns the last modification time, as a unix timestamp. Return null if the information is not available.

public getLastModified() : int|null
Return values
int|null

getName()

Returns the name of the node.

public getName() : string

This is used to generate the url.

Return values
string

setName()

Renames the node.

public setName(string $name) : mixed
Parameters
$name : string

The new name

Return values
mixed

Search results