19 declare(strict_types=1);
31 $ilUser = $DIC->user();
32 $lng = $DIC->language();
35 if ($user_alias ===
'') {
36 $user_alias =
$lng->txt(
'forums_anonymous');
42 return $ilUser->getLogin();
55 foreach ($mediaObjects as $mob) {
56 foreach ($myMediaObjects as $myMob) {
57 if ($mob === $myMob) {
74 foreach ($mediaObjects as $mob) {
static _getMediaObjects(string $a_text, int $a_direction=0)
Returns all media objects found in the passed string.
static moveMediaObjects(string $post_message, string $source_type, int $source_id, string $target_type, int $target_id, int $direction=0)
static getPublicUserAlias(string $user_alias, bool $is_anonymized)
static saveMediaObjects(string $post_message, string $target_type, int $target_id, int $direction=0)