classes/user/UserSettingsDAO.inc.php

Go to the documentation of this file.
00001 <?php
00002 
00016 // $Id$
00017 
00018 
00019 import('user.PKPUserSettingsDAO');
00020 
00021 class UserSettingsDAO extends PKPUserSettingsDAO {
00029    function &getSetting($userId, $name, $conferenceId = null) {
00030       return parent::getSetting($userId, $name, ASSOC_TYPE_CONFERENCE, $conferenceId);
00031    }
00032 
00041    function &getUsersBySetting($name, $value, $type = null, $conferenceId = null) {
00042       return parent::getUsersBySetting($name, $value, $type, ASSOC_TYPE_CONFERENCE, $conferenceId);
00043    }
00044 
00051    function &getSettingsByConference($userId, $conferenceId = null) {
00052       return parent::getSettingsByAssoc($userId, ASSOC_TYPE_CONFERENCE, $conferenceId);
00053    }
00054 
00063    function updateSetting($userId, $name, $value, $type = null, $conferenceId = null) {
00064       return parent::updateSetting($userId, $name, $value, $type, ASSOC_TYPE_CONFERENCE, $conferenceId);
00065    }
00066 
00073    function deleteSetting($userId, $name, $conferenceId = null) {
00074       return parent::deleteSetting($userId, $name, ASSOC_TYPE_CONFERENCE, $conferenceId);
00075    }
00076 }
00077 
00078 ?>

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