Assign the configuration of this OsidManager.
void
assignConfiguration
(object Properties $configuration)
-
object Properties
$configuration: (original type: java.util.Properties)
Redefinition of:
- OsidManager::assignConfiguration()
- Assign the configuration of this OsidManager.
Assign the context of this OsidManager.
void
assignOsidContext
(mixed $context, object OsidContext $context
)
-
object OsidContext
$context
Redefinition of:
- OsidManager::assignOsidContext()
- Assign the context of this OsidManager.
Delete the item and all tags for it. This should be done when deleting the thing the item represents
void
deleteItems
(mixed $items)
-
mixed
$items: This can be a single Item object, an TaggedItemIterator, or an array of Item objects.
Answer agentIds that have stored tags
object IdIterator
getAgentIds
()
Return configuration of this OsidManager.
array
getConfigurationForSystem
(string $system)
Answer the current user id
object
getCurrentUserId
()
Answer the current user id string value
string
getCurrentUserIdString
()
Answer the database index
integer
getDatabaseIndex
()
Return the destination Item class for a given system
string
getItemClassForSystem
(string $system)
Return context of this OsidManager.
object OsidContext
getOsidContext
()
Redefinition of:
- OsidManager::getOsidContext()
- Return context of this OsidManager.
Answer the tags created by any agent
object TagIterator
getTags
([string $sortBy = TAG_SORT_ALFA], integer $max)
-
string
$sortBy: Return tags in alphanumeric order or by frequency of usage.
-
integer
$max: The maximum number of tags to return. The least frequently used tags will be dropped first. If $max is 0, all tags will be returned.
Answer the tags created by a given agent
object TagIterator
getTagsByAgent
(object Id $agentId, [string $sortBy = TAG_SORT_ALFA], integer $max)
-
object Id
$agentId
-
string
$sortBy: Return tags in alphanumeric order or by frequency of usage.
-
integer
$max: The maximum number of tags to return. The least frequently used tags will be dropped first. If $max is 0, all tags will be returned.
Answer the tags for one or more item ids
object TagIterator
getTagsForItemIds
(mixed $ids, string $system, [string $sortBy = TAG_SORT_ALFA], integer $max)
-
mixed
$ids: The ids of the item to return tags for. This can be a single Id object, an IdIterator, or an array of Id objects.
-
string
$system: The name of the system that the items are accessed through.
-
string
$sortBy: Return tags in alphanumeric order or by frequency of usage.
-
integer
$max: The maximum number of tags to return. The least frequently used tags will be dropped first. If $max is 0, all tags will be returned.
Answer the tags for one or more items
object TagIterator
getTagsForItems
(mixed $items, [string $sortBy = TAG_SORT_ALFA], integer $max)
-
mixed
$items: The items to return tags for. This can be a single Item object, an ItemIterator, or an array of Item objects.
-
string
$sortBy: Return tags in alphanumeric order or by frequency of usage.
-
integer
$max: The maximum number of tags to return. The least frequently used tags will be dropped first. If $max is 0, all tags will be returned.
Answer the tags by the given agent for one or more items
object TagIterator
getTagsForItemsByAgent
(mixed $items, object Id $agentId, [string $sortBy = TAG_SORT_ALFA], integer $max)
-
mixed
$items: The items to return tags for. This can be a single Item object, an ItemIterator, or an array of Item objects.
-
object Id
$agentId
-
string
$sortBy: Return tags in alphanumeric order or by frequency of usage.
-
integer
$max: The maximum number of tags to return. The least frequently used tags will be dropped first. If $max is 0, all tags will be returned.
Answer the tags not created by the given agent for one or more items
object TagIterator
getTagsForItemsNotByAgent
(mixed $items, object Id $agentId, [string $sortBy = TAG_SORT_ALFA], integer $max)
-
mixed
$items: The items to return tags for. This can be a single Item object, an ItemIterator, or an array of Item objects.
-
object Id
$agentId
-
string
$sortBy: Return tags in alphanumeric order or by frequency of usage.
-
integer
$max: The maximum number of tags to return. The least frequently used tags will be dropped first. If $max is 0, all tags will be returned.
Answer the tags created by the current user
object TagIterator
getUserTags
([string $sortBy = TAG_SORT_ALFA], integer $max)
-
string
$sortBy: Return tags in alphanumeric order or by frequency of usage.
-
integer
$max: The maximum number of tags to return. The least frequently used tags will be dropped first. If $max is 0, all tags will be returned.
Answer the tags created by the current user for one or more items
object TagIterator
getUserTagsForItems
(mixed $items, [string $sortBy = TAG_SORT_ALFA], integer $max)
-
mixed
$items: The items to return tags for. This can be a single Item object, an ItemIterator, or an array of Item objects.
-
string
$sortBy: Return tags in alphanumeric order or by frequency of usage.
-
integer
$max: The maximum number of tags to return. The least frequently used tags will be dropped first. If $max is 0, all tags will be returned.
Inherited Methods
Inherited From OsidManager
OsidManager::assignConfiguration()
OsidManager::assignOsidContext()
OsidManager::getOsidContext()
OsidManager::osidVersion_2_0()