Login   Register  
PHP Classes
elePHPant
Icontem

Schedule: Render schedule time tables from XML definitions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-07-10 (10 years ago) RSS 2.0 feedStarStarStarStar 76%Total: 7,461 This week: 3All time: 223 This week: 634Down
Version License Categories  
schedule 1.0.0GNU General Public Lice...XML, Time and Date, Graphics
Description Author  

This class is meant to render schedule time tables graphics from definitions in XML format.

The schedule definitions specify the days that will appear in one axis of the time table and the hours of the day that appear in the other axis.

The schedule include the definitions of the blocks of time that are allocated including the start time, duration of each period, and the allocated event or class.

The class generate an automatic layout for the allocated time blocks and generates the time table as an PNG image using presentation styles also defined in the schedule definition XML file.

The class comes with two examples: one is a real schedule (mine) and the other is like a tutorial, showing how to configure almost every supported feature.

Innovation Award  
PHP Programming Innovation award nominee
July 2004
Number 4


Prize: One book of choice by O'Reilly
Some sites have the need to present information in the form of time tables to let their users know about the schedule of activities.

This class provides a solution for rendering images with a graphical representation of the schedule time tables.

The definition of the time tables is read from XML files that are easy to create by hand. The definition include only the information about the respective days, time and duration of the activities, making it easy to present schedules in the pages of any site.

Manuel Lemos
Picture of Diogo Resende
Name: Diogo Resende <contact>
Classes: 10 packages by
Country: Portugal Portugal
Age: 31
All time rank: 252 in Portugal Portugal
Week rank: 129 Down3 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

  Files folder image Files  
File Role Description
Plain text file class.schedule.php Class Class (another class is in this file but only to parse XML)
Accessible without login HTML file documentation.html Doc. Simple documentation
Accessible without login Plain text file README Data Read it
Accessible without login Plain text file test.php Example Script to view test.xml
Accessible without login Plain text file test.xml Data 1st XML file to test (using test.php)
Accessible without login Plain text file test2.php Example Script to view test2.xml
Accessible without login Plain text file test2.xml Data 2nd XML file to test (using test2.php)

 Version Control Unique User Downloads Download Rankings  
 0%Total:7,461All time:223
 This week:3This week:634Down
User Ratings User Comments (2)  
 All time
Utility:97%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:87%StarStarStarStarStar
Examples:95%StarStarStarStarStar
Tests:-
Videos:-
Overall:76%StarStarStarStar
Rank:50
 
Great class !
6 years ago (novitch)
80%StarStarStarStarStar
I wasn't expecting such a nicely done piece of code.
6 years ago (Matthew Kemmerer)
80%StarStarStarStarStar