SystemTagObjectMapper¶
-
class
OC\SystemTag\
SystemTagObjectMapper
¶ Source: lib/private/SystemTag/SystemTagObjectMapper.php#41 Implements: OCP\SystemTag\ISystemTagObjectMapper
Constants¶
-
RELATION_TABLE = systemtag_object_mapping
Source: lib/private/SystemTag/SystemTagObjectMapper.php#42
Properties¶
-
protected static property
OC\SystemTag\SystemTagObjectMapper::$
tagManager
¶ Source: lib/private/SystemTag/SystemTagObjectMapper.php#45 Type: \OCP\SystemTag\ISystemTagManager
-
protected static property
OC\SystemTag\SystemTagObjectMapper::$
connection
¶ Source: lib/private/SystemTag/SystemTagObjectMapper.php#48 Type: \OCP\IDBConnection
-
protected static property
OC\SystemTag\SystemTagObjectMapper::$
dispatcher
¶ Source: lib/private/SystemTag/SystemTagObjectMapper.php#51 Type: \Symfony\Component\EventDispatcher\EventDispatcherInterface
Methods¶
-
public
OC\SystemTag\SystemTagObjectMapper::
__construct
($connection, $tagManager, $dispatcher)¶ - Constructor.
Source: Parameters: - $connection (
OCP\IDBConnection
) database connection - $tagManager (
OCP\SystemTag\ISystemTagManager
) system tag manager - $dispatcher (
Symfony\Component\EventDispatcher\EventDispatcherInterface
)
- $connection (
-
public
OC\SystemTag\SystemTagObjectMapper::
getTagIdsForObjects
($objIds, $objectType)¶ -
Source: lib/private/SystemTag/SystemTagObjectMapper.php#69
-
public
OC\SystemTag\SystemTagObjectMapper::
getObjectIdsForTags
($tagIds, $objectType, $limit=0, $offset="")¶ -
Source: lib/private/SystemTag/SystemTagObjectMapper.php#105
-
public
OC\SystemTag\SystemTagObjectMapper::
assignTags
($objId, $objectType, $tagIds)¶ -
Source: lib/private/SystemTag/SystemTagObjectMapper.php#144
-
public
OC\SystemTag\SystemTagObjectMapper::
unassignTags
($objId, $objectType, $tagIds)¶ -
Source: lib/private/SystemTag/SystemTagObjectMapper.php#185
-
public
OC\SystemTag\SystemTagObjectMapper::
haveTag
($objIds, $objectType, $tagId, $all=true)¶ -
Source: lib/private/SystemTag/SystemTagObjectMapper.php#213