Example #1
0
 public static function gotoNextVerse($bible)
 {
     $ipc_focus = Ipc_Focus::getInstance();
     $currentBook = $ipc_focus->getBook();
     $currentChapter = $ipc_focus->getChapter();
     $currentVerse = $ipc_focus->getVerse();
     $passage = Navigation_Passage::getNextVerse($bible, $currentBook, $currentChapter, $currentVerse);
     if ($passage[0] != 0) {
         $ipc_focus->set($passage[0], $passage[1], $passage[2]);
         Navigation_Passage::recordHistory($passage[0], $passage[1], $passage[2]);
     }
 }