WordPress at Your Fingertips
function is not described

SimplePie_IRI::__set() public WP 1.0

Overload __set() to provide access via properties

{} It's a method of the class: SimplePie_IRI{}

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_IRI = new SimplePie_IRI();
$SimplePie_IRI->__set( $name, $value );
$name(string) (required)
Property name
$value(mixed) (required)
Property value

Code of SimplePie_IRI::__set() WP 5.8.2

public function __set($name, $value)
{
	if (method_exists($this, 'set_' . $name))
	{
		call_user_func(array($this, 'set_' . $name), $value);
	}
	elseif (
		   $name === 'iauthority'
		|| $name === 'iuserinfo'
		|| $name === 'ihost'
		|| $name === 'ipath'
		|| $name === 'iquery'
		|| $name === 'ifragment'
	)
	{
		call_user_func(array($this, 'set_' . substr($name, 1)), $value);
	}
}