Lines Matching refs:name

26     public $name;  variable in Sabre\\VObject\\Component
47 * @param string $name such as VCALENDAR, VEVENT
51 public function __construct(Document $root, $name, array $children = [], $defaults = true) argument
53 $this->name = strtoupper($name);
65 if (isset($list[$value->name])) {
66 unset($list[$value->name]);
121 $name = $newNode->name;
122 if (isset($this->children[$name])) {
123 $this->children[$name][] = $newNode;
125 $this->children[$name] = [$newNode];
158 foreach ($this->select($item->name) as $k => $child) {
160 unset($this->children[$item->name][$k]);
217 * @param string $name
221 public function select($name) argument
224 $name = strtoupper($name);
225 if (false !== strpos($name, '.')) {
226 list($group, $name) = explode('.', $name, 2);
228 if ('' === $name) {
229 $name = null;
232 if (!is_null($name)) {
233 $result = isset($this->children[$name]) ? $this->children[$name] : [];
270 $str = 'BEGIN:'.$this->name."\r\n";
291 if ('VTIMEZONE' === $array[$key]->name) {
304 if ('VERSION' === $array[$key]->name) {
333 $str .= 'END:'.$this->name."\r\n";
360 strtolower($this->name),
387 $writer->startElement(strtolower($this->name));
434 * @param string $name
438 public function __get($name) argument
440 if ('children' === $name) {
444 $matches = $this->select($name);
459 * @param string $name
463 public function __isset($name) argument
465 $matches = $this->select($name);
479 * @param string $name
482 public function __set($name, $value) argument
484 $name = strtoupper($name);
485 $this->remove($name);
489 $this->add($name, $value);
497 * @param string $name
499 public function __unset($name) argument
501 $this->remove($name);
582 $name = strtoupper($child->name);
583 if (!isset($propertyCounters[$name])) {
584 $propertyCounters[$name] = 1;
586 ++$propertyCounters[$name];
597 … 'message' => $propName.' MUST NOT appear in a '.$this->name.' component',
611 … 'message' => $propName.' MUST appear exactly once in a '.$this->name.' component',
620 … 'message' => $propName.' MUST appear at least once in a '.$this->name.' component',
646 … 'message' => $propName.' MUST NOT appear more than once in a '.$this->name.' component',