Documentation

Node
in package
implements INode

Node class.

This is a helper class, that should aid in getting nodes setup.

Tags
copyright

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

author

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

license

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

Interfaces, Classes and Traits

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

Table of Contents

delete()  : mixed
Deletes the current node.
getLastModified()  : int
Returns the last modification time as a unix timestamp.
setName()  : mixed
Renames the node.

Methods

delete()

Deletes the current node.

public delete() : mixed
Tags
throws
Forbidden
Return values
mixed

getLastModified()

Returns the last modification time as a unix timestamp.

public getLastModified() : int

If the information is not available, return null.

Return values
int

setName()

Renames the node.

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

The new name

Tags
throws
Forbidden
Return values
mixed

Search results