Lines Matching defs:name
23 * * Neither the name of the SimplePie Team nor the names of its contributors may be used
149 * @param string $name Property name
152 public function __set($name, $value)
154 if (method_exists($this, 'set_' . $name)) {
155 call_user_func([$this, 'set_' . $name], $value);
157 $name === 'iauthority'
158 || $name === 'iuserinfo'
159 || $name === 'ihost'
160 || $name === 'ipath'
161 || $name === 'iquery'
162 || $name === 'ifragment'
164 call_user_func([$this, 'set_' . substr($name, 1)], $value);
171 * @param string $name Property name
174 public function __get($name)
181 $name === 'iri' ||
182 $name === 'uri' ||
183 $name === 'iauthority' ||
184 $name === 'authority'
186 $return = $this->{"get_$name"}();
187 } elseif (array_key_exists($name, $props)) {
188 $return = $this->$name;
191 elseif (($prop = 'i' . $name) && array_key_exists($prop, $props)) {
192 $name = $prop;
196 elseif (($prop = substr($name, 1)) && array_key_exists($prop, $props)) {
197 $name = $prop;
200 trigger_error('Undefined property: ' . get_class($this) . '::' . $name, E_USER_NOTICE);
204 if ($return === null && isset($this->normalization[$this->scheme][$name])) {
205 return $this->normalization[$this->scheme][$name];
214 * @param string $name Property name
217 public function __isset($name)
219 return method_exists($this, 'get_' . $name) || isset($this->$name);
225 * @param string $name Property name
227 public function __unset($name)
229 if (method_exists($this, 'set_' . $name)) {
230 call_user_func([$this, 'set_' . $name], '');