tp TouchPointWP extraValues - TenthPres/TouchPoint-WP GitHub Wiki
tp\TouchPointWP\extraValues
Enables a class to have Extra Values. Defines several abstract methods that must be implemented.
- Full name:
\tp\TouchPointWP\extraValues
Methods
ExtraValues
public ExtraValues(): ?\tp\TouchPointWP\ExtraValueHandler
getExtraValue
Get an Extra Value.
public getExtraValue(string $name): mixed
- This method is abstract. Parameters:
| Parameter | Type | Description |
|---|---|---|
$name |
string | The name of the extra value to get. |
Return Value:
The value of the extra value. Returns null if it doesn't exist.