|
|
|
|
@ -801,6 +801,21 @@ class UserRepository extends EntityRepository |
|
|
|
|
$cForumThreadList[] = implode(', ', $list); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// CForumAttachment |
|
|
|
|
/*$criteria = [ |
|
|
|
|
'threadPosterId' => $userId, |
|
|
|
|
]; |
|
|
|
|
$result = $em->getRepository('ChamiloCourseBundle:CForumAttachment')->findBy($criteria); |
|
|
|
|
$cForumThreadList = []; |
|
|
|
|
* @var CForumThread $item |
|
|
|
|
foreach ($result as $item) { |
|
|
|
|
$list = [ |
|
|
|
|
'Title: '.$item->getThreadTitle(), |
|
|
|
|
'Creation date: '.$item->getThreadDate()->format($dateFormat), |
|
|
|
|
]; |
|
|
|
|
$cForumThreadList[] = implode(', ', $list); |
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
// cGroupRelUser |
|
|
|
|
$criteria = [ |
|
|
|
|
'userId' => $userId, |
|
|
|
|
@ -874,6 +889,7 @@ class UserRepository extends EntityRepository |
|
|
|
|
'Title: '.$item->getTitle(), |
|
|
|
|
'Sent date: '.$item->getSendDate()->format($dateFormat), |
|
|
|
|
'To user # '.$item->getUserReceiverId(), |
|
|
|
|
'Status'.$item->getMsgStatus(), |
|
|
|
|
]; |
|
|
|
|
$messageList[] = implode(', ', $list); |
|
|
|
|
} |
|
|
|
|
@ -919,6 +935,7 @@ class UserRepository extends EntityRepository |
|
|
|
|
foreach ($result as $item) { |
|
|
|
|
$list = [ |
|
|
|
|
'File #'.$item->getFileId(), |
|
|
|
|
'Course #'.$item->getCId(), |
|
|
|
|
]; |
|
|
|
|
$cDropboxPerson[] = implode(', ', $list); |
|
|
|
|
} |
|
|
|
|
|