/**
* Construct a tag/term cloud block for an user.
*
- * @brief Construct a tag/term cloud block for an user.
* @param int $uid The user ID.
* @param int $count Max number of displayed tags/terms.
* @param int $owner_id The contact ID of the owner of the tagged items.
$tpl = Renderer::getMarkupTemplate('widget/tagcloud.tpl');
$o = Renderer::replaceMacros($tpl, [
- '$title' => L10n::t('Tags'),
+ '$title' => DI::l10n()->t('Tags'),
'$tags' => $tags
]);
}
* Get alphabetical sorted array of used tags/terms of an user including
* a weighting by frequency of use.
*
- * @brief Get alphabetical sorted array of used tags/terms of an user including
- * a weighting by frequency of use.
* @param int $uid The user ID.
* @param int $count Max number of displayed tags/terms.
* @param int $owner_id The contact id of the owner of the tagged items.
/**
* Calculate weighting of tags according to the frequency of use.
*
- * @brief Calculate weighting of tags according to the frequency of use.
* @param array $arr Array of tags/terms with tag/term name and total count of use.
* @return array Alphabetical sorted array of used tags/terms of an user.
*/
/**
* Compare function to sort tags/terms alphabetically.
*
- * @brief Compare function to sort tags/terms alphabetically.
* @param string $a
* @param string $b
*