JDataSet::__set
The magic set method is used to set an object property using the iterator.
Example: $objectList->foo = 'bar'; This will set the 'foo' property to 'bar' in all of the objects (or a value determined by custom property setters in the JData).
Signature
public function __set(string
$property,
mixed
$value )
Parameters
-
$property
- The name of the property.
-
$value
- The value to give the data property.
Returns
- void