00001 <?php 00016 class SeriesAssignmentRule { 00017 00018 // 00019 // Public static methods. 00020 // 00028 function effect($pressId, $seriesId, $userId) { 00029 $seriesEditorsDao =& DAORegistry::getDAO('SeriesEditorsDAO'); 00030 if ($seriesEditorsDao->editorExists($pressId, $seriesId, $userId)) { 00031 return true; 00032 } else { 00033 return false; 00034 } 00035 } 00036 } 00037 00038 ?>
1.7.1