21 if(!strlen($user_alias))
23 $user_alias = $lng->txt(
'forums_anonymous');
28 return $ilUser->getLogin();
35 $res = $ilDB->queryF(
' 36 SELECT frm.top_name, thr.thr_subject, pos.pos_subject FROM frm_data frm 37 INNER JOIN frm_threads thr ON frm.top_pk = thr.thr_top_fk 38 INNER JOIN frm_posts pos ON thr.thr_pk = pos.pos_thr_fk 43 while(
$row = $ilDB->fetchAssoc(
$res))
46 $info[
'thread_title'] =
$row[
'thr_subject'];
47 $info[
'post_title'] =
$row[
'pos_subject'];
61 include_once
'Services/MediaObjects/classes/class.ilObjMediaObject.php';
64 foreach($mediaObjects as $mob)
66 foreach($myMediaObjects as $myMob)
86 include_once
'Services/MediaObjects/classes/class.ilObjMediaObject.php';
89 foreach($mediaObjects as $mob)
static _getMediaObjects($a_text, $a_direction=0)
Returns all media objects found in the passed string.
static getPublicUserAlias($user_alias, $is_anonymized=false)
static saveMediaObjects($post_message, $target_type, $target_id, $direction=0)
static moveMediaObjects($post_message, $source_type, $source_id, $target_type, $target_id, $direction=0)
static collectPostInformationByPostId($post_id)
Create styles array
The data for the language used.