PHP Classes

Schedule: Render schedule time tables from XML definitions

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 74%Total: 7,635 All time: 240 This week: 524Down
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.

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: 41
All time rank: 292 in Portugal Portugal
Week rank: 164 Down3 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

Recommendations

Access Time for Groups
Access per time range

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 (7)  
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)

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:7,635
This week:0
All time:240
This week:524Down
User Ratings User Comments (2)
 All time
Utility:94%StarStarStarStarStar
Consistency:89%StarStarStarStarStar
Documentation:85%StarStarStarStarStar
Examples:93%StarStarStarStarStar
Tests:-
Videos:-
Overall:74%StarStarStarStar
Rank:98
 
Great class !
16 years ago (novitch)
80%StarStarStarStarStar
I wasn't expecting such a nicely done piece of code.
16 years ago (Matthew Kemmerer)
80%StarStarStarStarStar