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
96137027
Commit
96137027
authored
11 years ago
by
Andreas Fischer
Browse files
Options
Downloads
Plain Diff
Merge pull request #8277 from owncloud/add-type-hints
Add type hinting * owncloud/add-type-hints: Add type hinting
parents
8fba61f8
e930ce64
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/private/subadmin.php
+11
-11
11 additions, 11 deletions
lib/private/subadmin.php
with
11 additions
and
11 deletions
lib/private/subadmin.php
+
11
−
11
View file @
96137027
...
...
@@ -32,8 +32,8 @@ class OC_SubAdmin{
/**
* @brief add a SubAdmin
* @param $uid uid of the SubAdmin
* @param $gid gid of the group
* @param
string
$uid uid of the SubAdmin
* @param
string
$gid gid of the group
* @return boolean
*/
public
static
function
createSubAdmin
(
$uid
,
$gid
)
{
...
...
@@ -45,8 +45,8 @@ class OC_SubAdmin{
/**
* @brief delete a SubAdmin
* @param $uid uid of the SubAdmin
* @param $gid gid of the group
* @param
string
$uid uid of the SubAdmin
* @param
string
$gid gid of the group
* @return boolean
*/
public
static
function
deleteSubAdmin
(
$uid
,
$gid
)
{
...
...
@@ -58,7 +58,7 @@ class OC_SubAdmin{
/**
* @brief get groups of a SubAdmin
* @param $uid uid of the SubAdmin
* @param
string
$uid uid of the SubAdmin
* @return array
*/
public
static
function
getSubAdminsGroups
(
$uid
)
{
...
...
@@ -73,7 +73,7 @@ class OC_SubAdmin{
/**
* @brief get SubAdmins of a group
* @param $gid gid of the group
* @param
string
$gid gid of the group
* @return array
*/
public
static
function
getGroupsSubAdmins
(
$gid
)
{
...
...
@@ -102,8 +102,8 @@ class OC_SubAdmin{
/**
* @brief checks if a user is a SubAdmin of a group
* @param $uid uid of the subadmin
* @param $gid gid of the group
* @param
string
$uid uid of the subadmin
* @param
string
$gid gid of the group
* @return bool
*/
public
static
function
isSubAdminofGroup
(
$uid
,
$gid
)
{
...
...
@@ -118,7 +118,7 @@ class OC_SubAdmin{
/**
* @brief checks if a user is a SubAdmin
* @param $uid uid of the subadmin
* @param
string
$uid uid of the subadmin
* @return bool
*/
public
static
function
isSubAdmin
(
$uid
)
{
...
...
@@ -138,8 +138,8 @@ class OC_SubAdmin{
/**
* @brief checks if a user is a accessible by a subadmin
* @param $subadmin uid of the subadmin
* @param $user uid of the user
* @param
string
$subadmin uid of the subadmin
* @param
string
$user uid of the user
* @return bool
*/
public
static
function
isUserAccessible
(
$subadmin
,
$user
)
{
...
...
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