| Dayyan's Persian Calendar |
|---|
Hi every body. This is a class that can generate HTML calendars into monthly and yearly, using Smarty template engine. So you can change this calendar's template and language easily. With this document you can use my class .it's very easy. try it. |
| Methods |
|---|
show_all_month($year) Parameters : $year = The year's number that you want generate its calendar into yearly Return Values : Return a calendar into HTML and yearly If $year equals zero or empty string (""), it's filling out with current year number. If $month_number equals zero or empty string (""), it's filling out with current month number. Example : |
show_one_month($month_number, $year) Parameters : $month_number = The number of month $year = The number of year Return Values : Return a table of month with month's number and year's number that you entered into HTML If $year equals zero or empty string (""), it's filling out with current year number. If $month_number equals zero or empty string (""), it's filling out with current month number. Example : |
| Change Template |
|---|
Template files are in theme\template_1 folder You can change theirs easily |
| Change Language |
|---|
The language file is in Language folder You can change it easily |
| Created by Mohammad Dayyan On May second of 2007 mds_soft@yahoo.com My Weblog |