PHP Classes
elePHPant
Icontem

When is the next part??

Recommend this page to a friend!

      PHP Sweepstakes  >  PHP Sweepstakes package blog  >  Calculating Periodica...  >  All threads  >  When is the next part??  >  (Un) Subscribe thread alerts  
Subject:When is the next part??
Summary:Sounds good ... When will we see an example?
Messages:2
Author:Paul Okeke
Date:2015-08-31 04:00:24
 

 


  1. When is the next part??   Reply   Report abuse  
Paul Okeke - 2015-08-31 04:00:24
Hi, This sounds like it could be very useful for me. I need to write an app for booking and scheduling exercise classes.
Would this handle something like a class that was on Monday & Wednesdays from 7 to 9pm every week for 3 months but not on any holidays?
Or instead of saying for 3 Months could one say for 18 classes and then the class would calculate the date of the last class based on the number of classes?

Thank you,
Paul

  2. Re: When is the next part??   Reply   Report abuse  
Ken Schick - 2015-08-31 08:01:00 - In reply to message 1 from Paul Okeke
Hi,
thank you. the next part is next week.

>Would this handle something like a class that was on Monday & >Wednesdays from 7 to 9pm every week for 3 months but not on any >holidays?

My package doesn't support hours (only days) but the main object has a paramter days so you can calculate events for 90 days. Also you need to add the extra logic for holidays.

>Or instead of saying for 3 Months could one say for 18 classes and then >the class would calculate the date of the last class based on the >number of classes?

No. The package doesn't support this.