Lines Matching refs:name

26     public $name;  variable in Sabre\\VObject\\Component
47 * @param string $name such as VCALENDAR, VEVENT.
53 function __construct(Document $root, $name, array $children = [], $defaults = true) { argument
55 $this->name = strtoupper($name);
67 if (isset($list[$value->name])) {
68 unset($list[$value->name]);
130 $name = $newNode->name;
131 if (isset($this->children[$name])) {
132 $this->children[$name][] = $newNode;
134 $this->children[$name] = [$newNode];
169 foreach ($this->select($item->name) as $k => $child) {
171 unset($this->children[$item->name][$k]);
228 * @param string $name
231 function select($name) { argument
234 $name = strtoupper($name);
235 if (strpos($name, '.') !== false) {
236 list($group, $name) = explode('.', $name, 2);
238 if ($name === '') $name = null;
240 if (!is_null($name)) {
242 $result = isset($this->children[$name]) ? $this->children[$name] : [];
286 $str = "BEGIN:" . $this->name . "\r\n";
309 if ($array[$key]->name === 'VTIMEZONE') {
320 if ($array[$key]->name === 'VERSION') {
348 $str .= "END:" . $this->name . "\r\n";
376 strtolower($this->name),
406 $writer->startElement(strtolower($this->name));
458 * @param string $name
462 function __get($name) { argument
464 if ($name === 'children') {
470 $matches = $this->select($name);
485 * @param string $name
489 function __isset($name) { argument
491 $matches = $this->select($name);
505 * @param string $name
510 function __set($name, $value) { argument
512 $name = strtoupper($name);
513 $this->remove($name);
517 $this->add($name, $value);
525 * @param string $name
529 function __unset($name) { argument
531 $this->remove($name);
617 $name = strtoupper($child->name);
618 if (!isset($propertyCounters[$name])) {
619 $propertyCounters[$name] = 1;
621 $propertyCounters[$name]++;
633 … 'message' => $propName . ' MUST NOT appear in a ' . $this->name . ' component',
647 … 'message' => $propName . ' MUST appear exactly once in a ' . $this->name . ' component',
656 … 'message' => $propName . ' MUST appear at least once in a ' . $this->name . ' component',
667 … 'message' => $propName . ' MUST NOT appear more than once in a ' . $this->name . ' component',