Lines Matching defs:name
22 * * Neither the name of the SimplePie Team nor the names of its contributors may be used
148 * @param string $name Property name
151 public function __set($name, $value)
153 if (method_exists($this, 'set_' . $name)) {
154 call_user_func([$this, 'set_' . $name], $value);
156 $name === 'iauthority'
157 || $name === 'iuserinfo'
158 || $name === 'ihost'
159 || $name === 'ipath'
160 || $name === 'iquery'
161 || $name === 'ifragment'
163 call_user_func([$this, 'set_' . substr($name, 1)], $value);
170 * @param string $name Property name
173 public function __get($name)
180 $name === 'iri' ||
181 $name === 'uri' ||
182 $name === 'iauthority' ||
183 $name === 'authority'
185 $return = $this->{"get_$name"}();
186 } elseif (array_key_exists($name, $props)) {
187 $return = $this->$name;
190 elseif (($prop = 'i' . $name) && array_key_exists($prop, $props)) {
191 $name = $prop;
195 elseif (($prop = substr($name, 1)) && array_key_exists($prop, $props)) {
196 $name = $prop;
199 trigger_error('Undefined property: ' . get_class($this) . '::' . $name, E_USER_NOTICE);
203 if ($return === null && isset($this->normalization[$this->scheme][$name])) {
204 return $this->normalization[$this->scheme][$name];
213 * @param string $name Property name
216 public function __isset($name)
218 return method_exists($this, 'get_' . $name) || isset($this->$name);
224 * @param string $name Property name
226 public function __unset($name)
228 if (method_exists($this, 'set_' . $name)) {
229 call_user_func([$this, 'set_' . $name], '');