コード例 #1
0
ファイル: NoteController.php プロジェクト: nyeholt/relapse
 /**
  * Get the latest notes for the current user
  *
  */
 public function latestnotesAction()
 {
     $from = za()->getUser()->getLastLogin();
     $this->view->notes = $this->notificationService->getNoteThreads(array('created > ' => date('Y-m-d H:i:s', strtotime($from) - 30 * 86400)), "created desc", 1, 20);
     $this->renderRawView('note/list.php');
 }