Skip to content
Snippets Groups Projects
Commit 77ad5dc9 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

Merge pull request #617 from samtuke/fix_docblocks

Cleaned up docblock comments
parents 6c3f43b0 60f4ea8d
No related branches found
No related tags found
No related merge requests found
...@@ -50,8 +50,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr ...@@ -50,8 +50,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
protected $property_cache = null; protected $property_cache = null;
/** /**
* Sets up the node, expects a full path name * @brief Sets up the node, expects a full path name
*
* @param string $path * @param string $path
* @return void * @return void
*/ */
...@@ -62,8 +61,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr ...@@ -62,8 +61,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
/** /**
* Returns the name of the node * @brief Returns the name of the node
*
* @return string * @return string
*/ */
public function getName() { public function getName() {
...@@ -74,8 +72,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr ...@@ -74,8 +72,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
} }
/** /**
* Renames the node * @brief Renames the node
*
* @param string $name The new name * @param string $name The new name
* @return void * @return void
*/ */
...@@ -102,7 +99,8 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr ...@@ -102,7 +99,8 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
} }
/** /**
* Make sure the fileinfo cache is filled. Uses OC_FileCache or a direct stat * @brief Ensure that the fileinfo cache is filled
& @note Uses OC_FileCache or a direct stat
*/ */
protected function getFileinfoCache() { protected function getFileinfoCache() {
if (!isset($this->fileinfo_cache)) { if (!isset($this->fileinfo_cache)) {
...@@ -121,8 +119,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr ...@@ -121,8 +119,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
} }
/** /**
* Returns the last modification time, as a unix timestamp * @brief Returns the last modification time, as a unix timestamp
*
* @return int * @return int
*/ */
public function getLastModified() { public function getLastModified() {
...@@ -141,8 +138,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr ...@@ -141,8 +138,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
} }
/** /**
* Updates properties on this node, * @brief Updates properties on this node,
*
* @param array $mutations * @param array $mutations
* @see Sabre_DAV_IProperties::updateProperties * @see Sabre_DAV_IProperties::updateProperties
* @return bool|array * @return bool|array
...@@ -177,15 +173,13 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr ...@@ -177,15 +173,13 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
} }
/** /**
* Returns a list of properties for this nodes.; * @brief 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
*
* @param array $properties * @param array $properties
* @return array * @return array
* @note 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
*/ */
public function getProperties($properties) { public function getProperties($properties) {
if (is_null($this->property_cache)) { if (is_null($this->property_cache)) {
...@@ -211,7 +205,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr ...@@ -211,7 +205,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
} }
/** /**
* Creates a ETag for this path. * @brief Creates a ETag for this path.
* @param string $path Path of the file * @param string $path Path of the file
* @return string|null Returns null if the ETag can not effectively be determined * @return string|null Returns null if the ETag can not effectively be determined
*/ */
...@@ -225,7 +219,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr ...@@ -225,7 +219,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
} }
/** /**
* Returns the ETag surrounded by double-quotes for this path. * @brief Returns the ETag surrounded by double-quotes for this path.
* @param string $path Path of the file * @param string $path Path of the file
* @return string|null Returns null if the ETag can not effectively be determined * @return string|null Returns null if the ETag can not effectively be determined
*/ */
...@@ -241,7 +235,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr ...@@ -241,7 +235,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
} }
/** /**
* Remove the ETag from the cache. * @brief Remove the ETag from the cache.
* @param string $path Path of the file * @param string $path Path of the file
*/ */
static public function removeETagPropertyForPath($path) { static public function removeETagPropertyForPath($path) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment