24 require_once
"Services/Contact/classes/class.ilMailingList.php";
56 $this->db = $DIC[
'ilDB'];
57 $this->
user = $a_user;
60 public function get($id = 0)
69 if (is_array($a_ids) && !empty($a_ids))
72 while($id = @array_pop($a_ids))
85 $res = $this->db->queryf(
' 86 SELECT * FROM addressbook_mlist 96 $tmpObj->setId(
$row->ml_id);
97 $tmpObj->setUserId(
$row->user_id);
98 $tmpObj->setTitle(
$row->title);
99 $tmpObj->setDescription(
$row->description);
100 $tmpObj->setCreatedate(
$row->createdate);
101 $tmpObj->setChangedate(
$row->changedae);
102 $tmpObj->setMode(
$row->lmode);
116 $ml_id = substr($a_list_name, strrpos($a_list_name,
'_') + 1);
118 if (!is_numeric($ml_id) || $ml_id <= 0)
132 $this->ml = $this->
get($id);
145 foreach($this->
getAll() as $mlist)
mailingListExists($a_list_name)
setCurrentMailingList($id=0)
getSelected($a_ids=array())
__construct(ilObjUser $a_user)
ilMailingLists constructor.
Create styles array
The data for the language used.