22 if (!strlen($user_alias)) {
23 $user_alias =
$lng->txt(
'forums_anonymous');
38 SELECT frm.top_name, thr.thr_subject, pos.pos_subject FROM frm_data frm
39 INNER JOIN frm_threads thr ON frm.top_pk = thr.thr_top_fk
40 INNER JOIN frm_posts pos ON thr.thr_pk = pos.pos_thr_fk
49 $info[
'thread_title'] =
$row[
'thr_subject'];
50 $info[
'post_title'] =
$row[
'pos_subject'];
64 include_once
'Services/MediaObjects/classes/class.ilObjMediaObject.php';
67 foreach ($mediaObjects as $mob) {
68 foreach ($myMediaObjects as $myMob) {
86 include_once
'Services/MediaObjects/classes/class.ilObjMediaObject.php';
89 foreach ($mediaObjects as $mob) {
An exception for terminatinating execution or to throw for unit testing.
static getPublicUserAlias($user_alias, $is_anonymized=false)
static moveMediaObjects($post_message, $source_type, $source_id, $target_type, $target_id, $direction=0)
static collectPostInformationByPostId($post_id)
static saveMediaObjects($post_message, $target_type, $target_id, $direction=0)
static _getMediaObjects($a_text, $a_direction=0)
Returns all media objects found in the passed string.
foreach($_POST as $key=> $value) $res