Beispiel #1
0
 public function getImagesForTimelineAction()
 {
     $this->_helper->layout()->disableLayout();
     $authUser = Application_Model_AuthUser::getAuthUser();
     $startDate = $this->getRequest()->getParam('first-date') . ' ' . $this->getRequest()->getParam('first-time');
     $endDate = $this->getRequest()->getParam('second-date') . ' ' . $this->getRequest()->getParam('second-time');
     $limit = $this->getRequest()->getParam('number-of-images');
     $pictures = new Application_Model_PictureMapper();
     $this->view->arrLogs = $pictures->getLogsForUser($authUser->getId(), $startDate, $endDate, $limit);
 }
Beispiel #2
0
 public function getLogs()
 {
     // hier und im mapper fehlen noch Parameter zur eingrenzung
     $logs = new Application_Model_PictureMapper();
     return $logs->getLogsForUser($this->_id);
 }