} $author = $email . ' (' . $fullname . ')'; unset($email); unset($fullname); $link = $path . $c_single_entry_point . '?cid=' . $cid . '&mod=material&fct=detail&iid=' . $item->getLinkedItemID(); $date = date('r', strtotime($item->getModificationDate())); $last_section_item = $item; unset($user_item); unset($linked_item); } unset($item); unset($manager); break; case 'date': include_once 'classes/cs_dates_manager.php'; $manager = new cs_dates_manager($environment); $item = $manager->getItem($row['item_id']); if (isset($item) and !$item->isNotActivated()) { $title = $translator->getMessage('RSS_NEW_DATE_TITLE', $item->getTitle()); setFileArray($item); #$description = $environment->getTextConverter()->text_as_html_long($environment->getTextConverter()->cleanDataFromTextArea($item->getDescription())); #$description = $environment->getTextConverter()->text_as_html_long($item->getDescription()); $description = $environment->getTextConverter()->textFullHTMLFormatting($item->getDescription()); $user_item = $item->getModificatorItem(); $fullname = $user_item->getFullName(); $email = $user_item->getEmail(); if ($context_item->isCommunityRoom()) { if (empty($_GET['hid']) and !$user_item->isVisibleForAll()) { $fullname = $translator->getMessage('COMMON_USER_NOT_VISIBLE'); $email = $translator->getMessage('COMMON_USER_NOT_VISIBLE'); }
public function __construct($environment) { $this->_db_prefix = $environment->getConfiguration('c_db_backup_prefix') . '_'; parent::cs_dates_manager($environment); }