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:
- author - Evert Pot (http://www.rooftopsolutions.nl/)
- copyright - Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
- abstract -
- license - Modified BSD License
[ 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
- 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
- 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
- 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
- Sabre_DAV_ILockable::lock()
- Creates a new lock on the file.
Parameters:
- Sabre_DAV_Locks_LockInfo $lockInfo -
[ 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)
- 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
- Sabre_DAV_ILockable::unlock()
- Unlocks a file
Parameters:
- Sabre_DAV_Locks_LockInfo $lockInfo -
[ Top ]
updateProperties
bool|array updateProperties(
$properties, array
$mutations)
[line 88]
Updates properties on this node,
Tags:
- see - Sabre_DAV_IProperties::updateProperties
- access - public
- Sabre_DAV_IProperties::updateProperties()
- Updates properties on this node,
Parameters:
- array $mutations -
- $properties -
[ Top ]