Lines Matching refs:name
26 public $name; variable in Sabre\\VObject\\Property
65 * @param string $name
70 …public function __construct(Component $root, $name, $value = null, array $parameters = [], $group … argument
72 $this->name = $name;
160 * @param string $name
163 public function add($name, $value = null) argument
166 if (null === $name) {
167 $name = Parameter::guessParameterNameByValue($value);
171 if (isset($this->parameters[strtoupper($name)])) {
172 $this->parameters[strtoupper($name)]->addValue($value);
174 $param = new Parameter($this->root, $name, $value);
176 $this->parameters[$param->name] = $param;
224 $str = $this->name;
226 $str = $this->group.'.'.$this->name;
288 if ('VALUE' === $parameter->name) {
291 $parameters[strtolower($parameter->name)] = $parameter->jsonSerialize();
301 strtolower($this->name),
331 if ('VALUE' === $parameter->name) {
338 $writer->startElement(strtolower($this->name));
344 $writer->startElement(strtolower($parameter->name));
392 * @param mixed $name
396 public function offsetExists($name) argument
398 if (is_int($name)) {
399 return parent::offsetExists($name);
402 $name = strtoupper($name);
405 if ($parameter->name == $name) {
418 * @param string $name
422 public function offsetGet($name) argument
424 if (is_int($name)) {
425 return parent::offsetGet($name);
427 $name = strtoupper($name);
429 if (!isset($this->parameters[$name])) {
433 return $this->parameters[$name];
439 * @param string $name
442 public function offsetSet($name, $value) argument
444 if (is_int($name)) {
445 parent::offsetSet($name, $value);
453 $param = new Parameter($this->root, $name, $value);
454 $this->parameters[$param->name] = $param;
460 * @param string $name
462 public function offsetUnset($name) argument
464 if (is_int($name)) {
465 parent::offsetUnset($name);
473 unset($this->parameters[strtoupper($name)]);
538 if (!preg_match('/^([A-Z0-9-]+)$/', $this->name)) {
541 …'message' => 'The propertyname: '.$this->name.' contains invalid characters. Only A-Z, 0-9 and - a…
546 $this->name = strtoupper(
547 str_replace('_', '-', $this->name)
550 $this->name = preg_replace('/([^A-Z0-9-])/u', '', $this->name);