tp TouchPointWP ExtraValueHandler - TenthPres/TouchPoint-WP GitHub Wiki
tp\TouchPointWP\ExtraValueHandler
Classes that have extra values should implement the ExtraValues trait, which provides a ExtraValues() method which returns an instance of this class and allows getting the values via its getter. That trait has the abstract methods that need to be implemented for Extra Values to be available.
- 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