Login   Register  
PHP Classes
elePHPant
Icontem

Stupidly Simple PHP Calendar: Render calendars as arrays of time elements

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-11-24 (24 days ago) RSS 2.0 feedNot enough user ratingsTotal: 378 This week: 5All time: 6,073 This week: 320Up
Version License PHP version Categories  
ssc 1.0.3MIT/X Consortium License5.4PHP 5, Time and Date
Description Author  

This class can render calendars as arrays of time elements.

It takes a given start date and period length and generates arrays of time elements that describe what should be rendered on calendars for that period like years, quarters, months, weeks and days.

The generated time elements array can be filtered by one of several possible formatter classes that can transform the array into a more useful format.

Currently it provides formatter classes that can transform the array in a JSON format string or an object.

Picture of Marcos Sigueros
Name: Marcos Sigueros <contact>
Classes: 1 package by
Country: Spain Spain
Age: ???
All time rank: 321684 in Spain Spain
Week rank: 372 Up14 in Spain Spain Up

  Files folder image Files  
File Role Description
Files folder imageexamples (1 file)
Files folder imagesrc (1 directory)
Files folder imagetests (1 file, 1 directory)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file example1.php Example Example script

  Files folder image Files  /  src  
File Role Description
Files folder imageSSC (2 files, 1 directory)

  Files folder image Files  /  src  /  SSC  
File Role Description
Files folder imageformatters (4 files)
  Plain text file Calendar.php Class Class source
  Plain text file CalendarConfig.php Class Class source

  Files folder image Files  /  src  /  SSC  /  formatters  
File Role Description
  Plain text file ArrayFormatter.php Class Class source
  Plain text file FormatterInterface.php Class Class source
  Plain text file JsonFormatter.php Class Class source
  Plain text file ObjectFormatter.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageunit (1 file)
  Accessible without login Plain text file bootstrap.php Aux. Unit test script

  Files folder image Files  /  tests  /  unit  
File Role Description
  Accessible without login Plain text file SSCTest.php Test Unit test script

 Version Control Unique User Downloads Download Rankings  
 100%Total:378All time:6,073
 This week:5This week:320Up
 User Comments (1)