tp TouchPointWP scheduled - TenthPres/TouchPoint-WP GitHub Wiki

tp\TouchPointWP\scheduled

This is a base interface for classes that have "schedule" strings.

  • Interface name: scheduled
  • Namespace: \tp\TouchPointWP
  • This is an interface

Methods

scheduleString

?string tp\TouchPointWP\scheduled::scheduleString(int objId, mixed obj)

Get a description of the schedule in a human-friendly phrase, e.g. Sunday, March 31 at 2:00pm.

These strings should be cached.

  • Visibility: public
  • This method is static.

Arguments

  • objId int* obj mixed - Needs to be of the type that implements this interface.

Returns

  • ?string -