tp TouchPointWP ExtraValueHandler - TenthPres/TouchPoint-WP GitHub Wiki

tp\TouchPointWP\ExtraValueHandler

Manages the handling of Extra Values. Items that support Extra Values MUST use the ExtraValues Trait.

  • Class name: ExtraValueHandler
  • Namespace: \tp\TouchPointWP

Methods

__construct

mixed tp\TouchPointWP\ExtraValueHandler::__construct(object owner)
  • Visibility: public

Arguments

  • owner object

Returns

  • mixed

standardizeExtraValueName

mixed tp\TouchPointWP\ExtraValueHandler::standardizeExtraValueName(string name)
  • Visibility: public
  • This method is static.

Arguments

  • name string

Returns

  • mixed

jsonToDataTyped

object tp\TouchPointWP\ExtraValueHandler::jsonToDataTyped(object evs)

Take an array or object of Extra Values and change the values to their proper datatypes.

  • Visibility: public
  • This method is static.

Arguments

  • evs object

Returns

  • object -

__get

mixed tp\TouchPointWP\ExtraValueHandler::__get(mixed what)
  • Visibility: public

Arguments

  • what mixed

Returns

  • mixed

__isset

mixed tp\TouchPointWP\ExtraValueHandler::__isset(mixed name)
  • Visibility: public

Arguments

  • name mixed

Returns

  • mixed

__call

mixed tp\TouchPointWP\ExtraValueHandler::__call(mixed name, mixed arguments)
  • Visibility: public

Arguments

  • name mixed* arguments mixed

Returns

  • mixed