示例#1
0
 /**
  * Get all tags that have a moduleId-itemId.
  *
  * If the $limit is set, the returned array is limited to the $limit tags.
  *
  * @param integer $moduleId The module ID to store.
  * @param integer $itemId   The item ID.
  * @param integer $limit    The number of modules for return, 0 for all.
  *
  * @return array Array with results.
  */
 public function getTagsByModule($moduleId, $itemId, $limit = 0)
 {
     $tags = $this->_tagsTableMapper->getTagsForModuleItem($moduleId, $itemId, $limit);
     return $tags;
 }