classes/manager/form/AnnouncementTypeForm.inc.php

Go to the documentation of this file.
00001 <?php
00002 
00016 //$Id$
00017 
00018 import('manager.form.PKPAnnouncementTypeForm');
00019 
00020 class AnnouncementTypeForm extends PKPAnnouncementTypeForm {
00025    function AnnouncementTypeForm($typeId = null) {
00026       parent::PKPAnnouncementTypeForm($typeId);
00027    }
00028 
00032    function display() {
00033       $templateMgr =& TemplateManager::getManager();
00034       $templateMgr->assign('helpTopicId', 'conference.generalManagement.announcements');
00035 
00036       parent::display();
00037    }
00038 
00043    function _setAnnouncementTypeAssocId(&$announcementType) {
00044       $conference =& Request::getConference();
00045       $announcementType->setAssocType(ASSOC_TYPE_CONFERENCE);
00046       $announcementType->setAssocId($conference->getId());
00047    }
00048 }
00049 
00050 ?>

Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7