tp TouchPointWP Interfaces scheduled - TenthPres/TouchPoint-WP GitHub Wiki

tp\TouchPointWP\Interfaces\scheduled

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


  • Full name: \tp\TouchPointWP\Interfaces\scheduled

Methods

scheduleString

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

public static scheduleString(int $objId, mixed $obj = null): ?string

These strings should be cached.

  • This method is static. Parameters:
Parameter Type Description
$objId int
$obj mixed Needs to be of the type that implements this interface.