JDataSet::__get
The magic get method is used to get a list of properties from the objects in the data set.
Example: $array = $dataSet->foo; This will return a column of the values of the 'foo' property in all the objects (or values determined by custom property setters in the individual JData's). The result array will contain an entry for each object in the list (compared to __call which may not). The keys of the objects and the result array are maintained.
Signature
public function __get(string
$property )
Parameters
-
$property
- The name of the data property.
Returns
- array
- An associative array of the values.