Package CT-ChurchResource
Functions summary
_shiftDate | shift date for $minutes minutes |
addAddition | |
addException | |
churchresource__ajax | |
churchresource__printview | print view echo html content |
churchresource_blocks | get blocks for home |
churchresource_createBooking | TODO: DB column ort should be renamed to subtitle, note or similar |
churchresource_delAddition | |
churchresource_delBooking | |
churchresource_deleteResourcesFromChurchCal | |
churchresource_delException | |
churchresource_getAdminForm | form for admin seddings |
churchresource_getAuth | get auth |
churchresource_getAuthForAjax | get auth for ajax |
churchresource_getCurrentBookings | get current bookings |
churchresource_getEventChangeImpact | Get booking changes 1. Check from originEvent if this is in newEvent 2a. If not in newEvent, if it is in pastEvent, everything fine. Nothing changed 2b. If is not in newEvent and in pastEvent, then it was deleted! 3. If is in newEvent, then diff the changes 4. Check if newEvent is not in originEvent, then there is something new |
churchresource_getLastLogId | get last log id |
churchresource_getOpenBookings | get open bookings |
churchresource_main | main function for churchresource |
churchresource_operateResourcesFromChurchCal | |
churchresource_send_mail | |
churchresource_updateBooking | TODO: too much code in churchresource_updateBooking, split it up FIXME: the changes for using email template are breaking logging in case no email is send otherwise logging of complete mails dont seems useful => only log important things in a short text? |
copyTypicalDateFields | |
cr_log | |
findBookingInNewEvent | |
findBookingInOriginEvent | |
getBooking | get one booking |
getBookingFields | |
getBookings | TODO: use :params for query? |
makeBookingDiff | |
makeBookingReadable | |
public__cr_ical |