PHP Classes
elePHPant
Icontem

File: usage.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 8 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);

?>