Login   Register  
PHP Classes
elePHPant
Icontem

Class: Class Calendar

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ken Stanley  >  Class Calendar  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Class Calendar
Base name: class_calendar
Description: Generate month calendar arrays
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 764 users
All time rank: 3564
Week users: 0 users
Week rank: 2671
Picture of Ken Stanley
Author: Ken Stanley <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: 34
All time rank: 1179162 in United States United States
Week rank: 1634 Down206 in United States United States Down


  Detailed description  
This class can generate multi-dimensional arrays containing the days of any given month across the span of weeks that the month days occupy.

It takes a given month and year as parameters and it fills the multi-dimensional array, that represents the weeks and the week days, with the respective number of the days of the month.

The array positions that represent days before and after the current month are filled with 0.

The class can also return the month name, month length in days, tell you if a given year is a leap year or not, and the week day name of a given day of the month.

Also, worth noting, the function valid_date will make sure that any month, day, and year are within valid parameters. For example, using the date 13/32/2005 by default is invalid. If you pass this date to valid_date, it would convert that date to 2/1/2006. This is important if accepting user input from a calendar.

 

  Groups  
Group folder image Time and Date Time and date values, formats and conversion View top rated classes

  Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  
  Files folder image Screenshots  
Screenshot of example output
File Role Description
Accessible without login Image file class_calendar.png Screen Screenshot of example output


  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file ChangeLog Doc. Notes of all changes and by when and whom they are made by.
Accessible without login Plain text file class_calendar.php Class Main Class
Accessible without login Plain text file class_sqlite.php Class Simple SQLite API
Accessible without login Plain text file index.php Example Advanced Usage Example
Accessible without login Plain text file README Doc. License, Examples, and Documentation

Download all files: class_calendar.tar.gz class_calendar.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.