Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
2e1b5349
Commit
2e1b5349
authored
11 years ago
by
Robin Appelman
Browse files
Options
Downloads
Patches
Plain Diff
update phpdoc for public fileapi
parent
0131a320
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/public/files/node/folder.php
+8
-8
8 additions, 8 deletions
lib/public/files/node/folder.php
lib/public/files/node/node.php
+2
-2
2 additions, 2 deletions
lib/public/files/node/node.php
with
10 additions
and
10 deletions
lib/public/files/node/folder.php
+
8
−
8
View file @
2e1b5349
...
...
@@ -31,7 +31,7 @@ interface Folder extends Node {
/**
* check if a node is a (grand-)child of the folder
*
* @param \OC\Files\Node\Node $node
* @param \OC
P
\Files\Node\Node $node
* @return bool
*/
public
function
isSubNode
(
$node
);
...
...
@@ -40,7 +40,7 @@ interface Folder extends Node {
* get the content of this directory
*
* @throws \OC\Files\NotFoundException
* @return Node[]
* @return
\OCP\Files\Node\
Node[]
*/
public
function
getDirectoryListing
();
...
...
@@ -48,7 +48,7 @@ interface Folder extends Node {
* Get the node at $path
*
* @param string $path
* @return \OC\Files\Node\Node
* @return \OC
P
\Files\Node\Node
* @throws \OC\Files\NotFoundException
*/
public
function
get
(
$path
);
...
...
@@ -61,14 +61,14 @@ interface Folder extends Node {
/**
* @param string $path
* @return Folder
* @return
\OCP\Files\Node\
Folder
* @throws NotPermittedException
*/
public
function
newFolder
(
$path
);
/**
* @param string $path
* @return File
* @return
\OCP\Files\Node\
File
* @throws NotPermittedException
*/
public
function
newFile
(
$path
);
...
...
@@ -77,7 +77,7 @@ interface Folder extends Node {
* search for files with the name matching $query
*
* @param string $query
* @return Node[]
* @return
\OCP\Files\Node\
Node[]
*/
public
function
search
(
$query
);
...
...
@@ -85,13 +85,13 @@ interface Folder extends Node {
* search for files by mimetype
*
* @param string $mimetype
* @return Node[]
* @return
\OCP\Files\Node\
Node[]
*/
public
function
searchByMime
(
$mimetype
);
/**
* @param $id
* @return Node[]
* @return
\OCP\Files\Node\
Node[]
*/
public
function
getById
(
$id
);
...
...
This diff is collapsed.
Click to expand it.
lib/public/files/node/node.php
+
2
−
2
View file @
2e1b5349
...
...
@@ -12,7 +12,7 @@ interface Node {
/**
* @param string $targetPath
* @throws \OC\Files\NotPermittedException
* @return \OC\Files\Node\Node
* @return \OC
P
\Files\Node\Node
*/
public
function
move
(
$targetPath
);
...
...
@@ -20,7 +20,7 @@ interface Node {
/**
* @param string $targetPath
* @return \OC\Files\Node\Node
* @return \OC
P
\Files\Node\Node
*/
public
function
copy
(
$targetPath
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment