Summery Summery
Overload __set() to provide access via properties
Syntax Syntax
Parameters Parameters
- $name
-
(Required) Property name
- $value
-
(Required) Property value
Source Source
File: wp-includes/SimplePie/IRI.php
{ 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); } }