SystemTagManager¶
-
class
OC\SystemTag\
SystemTagManager
¶ - Manager class for system tags
Source: lib/private/SystemTag/SystemTagManager.php#48 Implements: OCP\SystemTag\ISystemTagManager
Constants¶
-
TAG_TABLE = systemtag
Source: lib/private/SystemTag/SystemTagManager.php#49
-
TAG_GROUP_TABLE = systemtag_group
Source: lib/private/SystemTag/SystemTagManager.php#50
Properties¶
-
protected static property
OC\SystemTag\SystemTagManager::$
connection
¶ Source: lib/private/SystemTag/SystemTagManager.php#53 Type: \OCP\IDBConnection
-
protected static property
OC\SystemTag\SystemTagManager::$
dispatcher
¶ Source: lib/private/SystemTag/SystemTagManager.php#56 Type: \Symfony\Component\EventDispatcher\EventDispatcherInterface
-
protected static property
OC\SystemTag\SystemTagManager::$
groupManager
¶ Source: lib/private/SystemTag/SystemTagManager.php#59 Type: \OCP\IGroupManager
Methods¶
-
public
OC\SystemTag\SystemTagManager::
__construct
($connection, $groupManager, $dispatcher)¶ - Constructor.
Source: Parameters: - $connection (
OCP\IDBConnection
) database connection - $groupManager (
OCP\IGroupManager
) - $dispatcher (
Symfony\Component\EventDispatcher\EventDispatcherInterface
)
- $connection (
-
public
OC\SystemTag\SystemTagManager::
getTagsByIds
($tagIds)¶ -
Source: lib/private/SystemTag/SystemTagManager.php#95
-
public
OC\SystemTag\SystemTagManager::
getAllTags
($visibilityFilter=null, $nameSearchPattern=null)¶ -
Source: lib/private/SystemTag/SystemTagManager.php#137
-
public
OC\SystemTag\SystemTagManager::
getTag
($tagName, $userVisible, $userAssignable)¶ -
Source: lib/private/SystemTag/SystemTagManager.php#175
-
public
OC\SystemTag\SystemTagManager::
createTag
($tagName, $userVisible, $userAssignable)¶ -
Source: lib/private/SystemTag/SystemTagManager.php#196
-
public
OC\SystemTag\SystemTagManager::
updateTag
($tagId, $newName, $userVisible, $userAssignable)¶ -
Source: lib/private/SystemTag/SystemTagManager.php#234
-
public
OC\SystemTag\SystemTagManager::
deleteTags
($tagIds)¶ -
Source: lib/private/SystemTag/SystemTagManager.php#284
-
public
OC\SystemTag\SystemTagManager::
canUserAssignTag
($tag, $user)¶ -
Source: lib/private/SystemTag/SystemTagManager.php#336
-
public
OC\SystemTag\SystemTagManager::
canUserSeeTag
($tag, $user)¶ -
Source: lib/private/SystemTag/SystemTagManager.php#364
-
public
OC\SystemTag\SystemTagManager::
setTagGroups
($tag, $groupIds)¶ -
Source: lib/private/SystemTag/SystemTagManager.php#383
-
public
OC\SystemTag\SystemTagManager::
getTagGroups
($tag)¶ -
Source: lib/private/SystemTag/SystemTagManager.php#417