PHP Classes

File: usage.php

Recommend this page to a friend!
  Classes of Rupom Razzaque   Easy Calendar   usage.php   Download  
File: usage.php
Role: Example script
Content type: text/plain
Description: Example Usage of the Class
Class: Easy Calendar
Display month calendars using the cal command
Author: By
Last change:
Date: 18 years ago
Size: 549 bytes
 

Contents

Class file image Download
<?php
/**
* Usage of EasyCalendar Class
*
* @author : MA Razzaque Rupom <rupom_315@yahoo.com>, <rupom.bd@gmail.com>
* Moderator, phpResource (http://groups.yahoo.com/group/phpresource/)
* URL: http://www.rupom.info
* @version : 1.0
* Purpose : Creating Year and Month Calendar Easily By Unix System Call
*/

//Usage of Class EasyCalendar
include_once "EasyCalendar.class.php";

$Obj = new EasyCalendar();
$Obj->getYearCalendar(2006);
$Obj->getMonthCalendar(2006, 4);
$Obj->getYearCalendar(2010);

?>