Class ilMailAutoCompleteBuddyRecipientsProvider.
More...
◆ getFromPart()
ilMailAutoCompleteBuddyRecipientsProvider::getFromPart |
( |
| ) |
|
|
protected |
- Returns
- string
Definition at line 29 of file class.ilMailAutoCompleteBuddyRecipientsProvider.php.
33 $joins[] = implode(
' ', [
34 'INNER JOIN buddylist',
36 'buddylist.usr_id = usr_data.usr_id AND',
37 'buddylist.buddy_usr_id = ' . $this->db->quote($this->user_id,
'integer'),
39 'buddylist.buddy_usr_id = usr_data.usr_id AND',
40 'buddylist.usr_id = ' . $this->db->quote($this->user_id,
'integer'),
44 $joins[] = implode(
' ', [
45 'LEFT JOIN usr_pref profpref',
46 'ON profpref.usr_id = usr_data.usr_id',
47 'AND profpref.keyword = ' . $this->db->quote(
'public_profile',
'text'),
50 $joins[] = implode(
' ', [
51 'LEFT JOIN usr_pref pubemail',
52 'ON pubemail.usr_id = usr_data.usr_id',
53 'AND pubemail.keyword = ' . $this->db->quote(
'public_email',
'text'),
56 return 'usr_data ' . implode(
' ', $joins);
The documentation for this class was generated from the following file: