Class: Sabre_DAV_FSExt_Node

Source Location: /includes/classes/SabreDAV/lib/Sabre/DAV/FSExt/Node.php

Class Overview [line 14]

Sabre_DAV_FS_Node
   |
   --Sabre_DAV_FSExt_Node

Base node-class

Author(s):

  • Evert Pot (http://www.rooftopsolutions.nl/)

Version:

Copyright:

  • Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.

Variables

Constants

Methods


Child classes:

Sabre_DAV_FSExt_Directory
Directory class
Sabre_DAV_FSExt_File
File class

Implements interfaces

Inherited Variables

Inherited Constants

Inherited Methods

Class: Sabre_DAV_FS_Node

Sabre_DAV_FS_Node::__construct()
Sets up the node, expects a full path name
Sabre_DAV_FS_Node::getLastModified()
Returns the last modification time, as a unix timestamp
Sabre_DAV_FS_Node::getName()
Returns the name of the node
Sabre_DAV_FS_Node::setName()
Renames the node


Class Details

Base node-class

The node class implements the method used by both the File and the Directory classes

Tags:

[ Top ]


Class Variables


Class Methods

delete

void delete( )

[line 269]

Tags:

  • access - public

Overridden in child classes as:

Sabre_DAV_FSExt_Directory::delete()
Deletes all files in this directory, and then itself
Sabre_DAV_FSExt_File::delete()
Delete the current file


Implementation of:
Sabre_DAV_INode::delete()
Deleted the current node

Parameters:

[ Top ]

deleteResourceData

void deleteResourceData( )

[line 241]

Tags:

  • access - public

Parameters:

[ Top ]

getLocks

array getLocks( )

[line 21]

Returns all the locks on this node


Implementation of:
Sabre_DAV_ILockable::getLocks()
Returns an array with locks currently on the node

Parameters:

[ Top ]

getProperties

void getProperties( array $properties)

[line 120]

Returns a list of properties for this nodes.;

The properties list is a list of propertynames the client requested, encoded as xmlnamespace#tagName, for example: http://www.example.org/namespace#author If the array is empty, all properties should be returned


Implementation of:
Sabre_DAV_IProperties::getProperties()
Returns a list of properties for this nodes.

Parameters:

  • array $properties -

[ Top ]

getResourceData

array getResourceData( )

[line 153]

Returns all the stored resource information

Tags:

  • access - protected

Parameters:

[ Top ]

getResourceInfoPath

string getResourceInfoPath( )

[line 141]

Returns the path to the resource file

Tags:

  • access - protected

Parameters:

[ Top ]

lock

void lock( Sabre_DAV_Locks_LockInfo $lockInfo)

[line 38]

Locks this node


Implementation of:
Sabre_DAV_ILockable::lock()
Creates a new lock on the file.

Parameters:

[ Top ]

putResourceData

void putResourceData( $newData)

[line 190]

Updates the resource information

Tags:

  • access - protected

Parameters:

  • array $newData -

[ Top ]

setName

void setName( string $name)

[line 223]

Renames the node

Tags:

  • access - public

Overrides Sabre_DAV_FS_Node::setName() (Renames the node)


Implementation of:
Sabre_DAV_INode::setName()
Renames the node

Parameters:

  • string $name - The new name

[ Top ]

unlock

bool unlock( Sabre_DAV_Locks_LockInfo $lockInfo)

[line 63]

Removes a lock from this node


Implementation of:
Sabre_DAV_ILockable::unlock()
Unlocks a file

Parameters:

[ Top ]

updateProperties

bool|array updateProperties( $properties, array $mutations)

[line 88]

Updates properties on this node,

Tags:

  • see - Sabre_DAV_IProperties::updateProperties
  • access - public

Implementation of:
Sabre_DAV_IProperties::updateProperties()
Updates properties on this node,

Parameters:

  • array $mutations -
  • $properties -

[ Top ]


Class Constants


Documentation generated on Mon, 31 May 2010 12:53:39 -0400 by phpDocumentor 1.4.3