surah::detail( surah )

Gets the surah detail array


surah::detail( surah )

Surah number need to be added here

Returns: object [start, ayahs, order, rukus, arabic_name, english_name, english_meaning, type]


Examples:

Example: Detail of the surah

quran::init(); // initial start run - required

$detail = surah::detail(2);
echo($detail->arabic_name);
echo($detail->english_name.' - '.$detail->english_meaning);
echo('starts after verse number '.detail->start);
echo('ayahs has '.detail->ayahs);
echo('order '.detail->order);
echo('rukus '.detail->rukus);
echo('type '.detail->type);


Demo:

Comments


blog comments powered by Disqus

.