This Quran object has everything for developer to navigate easily on surah and ayah selection. This is standalone object, so you can use this on any project as you like. This Quran object was inspired by tanzil functions.
initial setup run - must run this method on start.
Quran.VerseNo
This object has all the functions you need to get the verse number, which you can use to get to know the verse number of surah & ayah, surah, juz or page. also you can use this to get the query from the database.
gets the verse number by surah & ayah
gets the verse number by surah
gets the verse number by page
gets the verse number by juz
Quran.ayah
This object has all the functions to get surah and ayah number as objects this method is very useful for selection of surah&ayah, getting list of surah&ayah and so on
gets the next surah & ayah number from current surah & ayah number
gets the previous surah & ayah number from the current surah & ayah number
gets the page number from surah & ayah number
gets the juz number from surah & ayah number
gets the surah & ayah number from verse number
gets the surah & ayah number from juz number
gets the surah & ayah number from page number
gets the list of surah & ayah numbers from a page number for a given page.
Quran.surah
getting the detail of the surah
gets the surah detail array (start at, ayahs have, order, rukus, arabic name, english name, english meaning and type)
gets the name of the surah.
gets the surah number of the surah from a surah name