File: example.php

Recommend this page to a friend!
  Classes of Hossam Suliman  >  One Hijri Year Calendar  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example of class usage
Class: One Hijri Year Calendar
Display a month or an year of the Hijri calendar
Author: By
Last change: - Make it accessible without user login.
Date: 8 years ago
Size: 385 bytes


Class file image Download

 * Example of HijriCalendar class usage.
 * @author Hossamzee.
 * @date 3 Dec 2012.


/* Create a new instance of HijriCalendar class. */
$hijriCalendar = new HijriCalendar();

/* Set Hijri year. */
$hijriCalendar->hijriYear = 1434;

/* Print the result. */
echo $hijriCalendar->getHijriYearCalendar();

For more information send a message to info at phpclasses dot org.