PHP code example of stevenbuehner / bible-verse-bundle
1. Go to this page and download the library: Download stevenbuehner/bible-verse-bundle library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
stevenbuehner / bible-verse-bundle example snippets
/**
* @return int
*/
public function getStart() {
return $this->start;
}
/**
* @return int
*/
public function getEnd() {
return $this->end;
}
php
$service = new BibleVerseService();
$found = $service->stringToBibleVerse('1Tim 3,16');
php
foreach($found as $bibleverse){
// long labels
echo $service->bibleVerseToString($bibleverse);
// or short labels
echo $service->bibleVerseToString($bibleverse, 'short');
}
php
/**
* Set From and To bookId
* @param integer $bookId
*/
public function setBookId($bookId);
/**
* Get bookId
* @return int
*/
public function getFromBookId();
/**
* Get bookId
* @return int
*/
public function getToBookId();
/**
* Set $fromBookId
* @param integer $fromBookId
*/
public function setFromBookId($fromBookId);
/**
* Set $toBookId
* @param integer $toBookId
*/
public function setToBookId($toBookId);
/**
* Set fromChapter
* @param integer $fromChapter
*/
public function setFromChapter($fromChapter);
/**
* Get fromChapter
* @return int
*/
public function getFromChapter();
/**
* Set toChapter
* @param integer $toChapter
*/
public function setToChapter($toChapter);
/**
* Get toChapter
* @return int
*/
public function getToChapter();
/**
* Set fromVerse
* @param integer $fromVerse
*/
public function setFromVerse($fromVerse);
/**
* Get fromVerse
* @return int
*/
public function getFromVerse();
/**
* Set toVerse
*
* @param integer $toVerse
*/
public function setToVerse($toVerse);
/**
* Get toVerse
*
* @return int
*/
public function getToVerse();
/**
* @param int $bookId
* @param int $fromChapter
* @param int $fromVerse
* @param int|NULL $toChapter
* @param int|NULL $toVerse
*/
public function setVerse($bookId, $fromChapter, $fromVerse, $toChapter = NULL, $toVerse = NULL);
shell
php ./js/Generator/cmd.php
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.