classes/paper/PaperTypeDAO.inc.php

Go to the documentation of this file.
00001 <?php
00002 
00016 //$Id$
00017 
00018 
00019 import('controlledVocab.ControlledVocabDAO');
00020 
00021 define('PAPER_TYPE_SYMBOLIC', 'paperType');
00022 
00023 class PaperTypeDAO extends ControlledVocabDAO {
00024    function build($schedConfId) {
00025       return parent::build(PAPER_TYPE_SYMBOLIC, ASSOC_TYPE_SCHED_CONF, $schedConfId);
00026    }
00027 
00028    function getPaperTypes($schedConfId) {
00029       $paperTypes = $this->build($schedConfId);
00030       $paperTypeEntryDao =& DAORegistry::getDAO('PaperTypeEntryDAO');
00031       return $paperTypeEntryDao->getByControlledVocabId($paperTypes->getId());
00032    }
00033 }
00034 
00035 ?>

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