Abstract.php

00001 <?php
00009 abstract class Dsao_Model_Scroll_Abstract extends Dsao_Model_Abstract
00010 {
00011   protected function _init()
00012   {
00013     $this->_setDefaultTable('scroll_header');
00014   }
00015 
00016   public function getModuleNavigation()
00017   {
00018     return array
00019       (
00020         'scroll_overview'     => '/scroll/overview/show',
00021         'scroll_scroll_send'  => '/scroll/scroll/send'
00022       );
00023   }
00024 
00037   public function isParticipated($idUser, $idScroll)
00038   {
00039     // Schriftrolle laden
00040     $scroll = new Dsao_Scroll(array('id' => $idScroll));
00041     $scroll->refresh(false);
00042 
00043     // Falls Schriftrolle gefunden wurde und Benutzer daran beteiligt
00044     if ($scroll->isValid() && $scroll->isParticipated($idUser))
00045     {
00046       return $scroll;
00047     }
00048 
00049     return false;
00050   }
00051 }

Erzeugt am Fri Sep 18 19:04:11 2009 für DSA online - Morgendaemmerung von  doxygen 1.5.7.1