Get the value(s) of this Selector
Note that if calling this as a property (rather than a method) it can return either a string or an array.
Available since version 3.0.42. Prior versions only supported the 'value' property.
Usage
// basic usage
$string = $selector->value();
// usage with all arguments
$string = $selector->value($forceString = true);
Arguments
Name | Type(s) | Description |
---|---|---|
forceString (optional) | bool, int | Specify one of the following:
|
Return value
string
array
null
See Also
Selector methods and properties
API reference based on ProcessWire core version 3.0.236