\RegistrableDateTime
An instance of an event that a person can register to attend.
Synopsis
class RegistrableDateTime
extends CalendarDateTime
{
- // members
- private static array $db = ;
- private static array $has_many = ;
- private static array $many_many = ;
- private static array $many_many_extraFields = ;
- // methods
- public void getCMSFields()
- public void validate()
- protected void onBeforeWrite()
- protected void onAfterWrite()
- public int|bool getRemainingCapacity()
- public boolean isSoldOut()
- public string getTitle()
- public DateTime getStartDateTime()
- public string Link()
Hierarchy
Extends
- CalendarDateTime
Members
private
- $db
- $has_many
- $many_many
- $many_many_extraFields
Methods
protected
- onAfterWrite() — Notifies the users of any changes made to the event.
- onBeforeWrite() — If an email reminder is set, then this registers it in the queue.
public
- Link()
- getCMSFields()
- getRemainingCapacity() — Returns the overall number of places remaining at this event, TRUE if there are unlimited places or FALSE if they are all taken.
- getStartDateTime()
- getTitle()
- isSoldOut()
- validate()