PHP Classes
elePHPant
Icontem

Schedule: Render schedule time tables from XML definitions

Recommend this page to a friend!
  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 (12 years ago) RSS 2.0 feedStarStarStarStar 76%Total: 7,584 All time: 229 This week: 1,068Down
Version License Categories
schedule 1.0.0GNU General Publi...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.

Recommendations

Access Time for Groups
Access per time range

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
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

Details
  Hi!
  Hope you like the class and hope you know how to work with it. If
not, e-mail me to <a25617@alunos.det.ua.pt> to clarify you doubt.
  If you like the class, please, rate it :)
  
  Diogo
  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,584
This week:0
All time:229
This week:1,068Down
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:84
 
Great class !
8 years ago (novitch)
80%StarStarStarStarStar
I wasn't expecting such a nicely done piece of code.
8 years ago (Matthew Kemmerer)
80%StarStarStarStarStar