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

tp\TouchPointWP\Interfaces\actionButtons

This is a base interface for classes that make action buttons available for a given object.

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

Methods

getActionButtons

\tp\TouchPointWP\Utilities\StringableArray tp\TouchPointWP\Interfaces\actionButtons::getActionButtons(string|null context, string btnClass, bool withTouchPointLink, bool absoluteLinks)
  • Visibility: public

Arguments

  • context string|null - A string that gives filters some context for where the request is coming from
  • btnClass string - HTML class names to put into the buttons/links
  • withTouchPointLink bool - Whether to include a link to the item within TouchPoint.
  • absoluteLinks bool - Set true to make the links absolute, so they work from apps or emails.

Returns

  • \tp\TouchPointWP\Utilities\StringableArray -