Lines Matching refs:name
24 public $name; variable in Sabre\\VObject\\Property
63 * @param string $name
69 …function __construct(Component $root, $name, $value = null, array $parameters = array(), $group = … argument
71 $this->name = $name;
166 * @param string $name
170 function add($name, $value = null) { argument
172 if ($name === null) {
173 $name = Parameter::guessParameterNameByValue($value);
177 if (isset($this->parameters[strtoupper($name)])) {
178 $this->parameters[strtoupper($name)]->addValue($value);
181 $param = new Parameter($this->root, $name, $value);
183 $this->parameters[$param->name] = $param;
233 $str = $this->name;
234 if ($this->group) $str = $this->group . '.' . $this->name;
302 if ($parameter->name === 'VALUE') {
305 $parameters[strtolower($parameter->name)] = $parameter->jsonSerialize();
315 strtolower($this->name),
344 * @param mixed $name
347 function offsetExists($name) { argument
349 if (is_int($name)) return parent::offsetExists($name);
351 $name = strtoupper($name);
354 if ($parameter->name == $name) return true;
365 * @param string $name
368 function offsetGet($name) { argument
370 if (is_int($name)) return parent::offsetGet($name);
371 $name = strtoupper($name);
373 if (!isset($this->parameters[$name])) {
377 return $this->parameters[$name];
384 * @param string $name
388 function offsetSet($name, $value) { argument
390 if (is_int($name)) {
391 parent::offsetSet($name, $value);
399 $param = new Parameter($this->root, $name, $value);
400 $this->parameters[$param->name] = $param;
407 * @param string $name
410 function offsetUnset($name) { argument
412 if (is_int($name)) {
413 parent::offsetUnset($name);
421 unset($this->parameters[strtoupper($name)]);
491 if (!preg_match('/^([A-Z0-9-]+)$/', $this->name)) {
494 …'message' => 'The propertyname: ' . $this->name . ' contains invalid characters. Only A-Z, 0-9 and…
499 $this->name = strtoupper(
500 str_replace('_', '-', $this->name)
503 $this->name = preg_replace('/([^A-Z0-9-])/u', '', $this->name);