4namespace Bitrix\Calendar\ICal\Builder;
7use Bitrix\Calendar\SerializeObject;
27 return new self($collection);
36 if (!$this->checkCollection($collection))
38 throw new LogicException(
'The collection contains elements of the wrong class. You need to pass a collection of objects Bitrix\\Calendar\\ICal\\Parser\\Attendee');
40 $this->collection = $collection;
49 $this->collection[] = $attach;
59 return $this->collection;
67 return new ArrayIterator($this->collection);
72 return count($this->collection);
78 private function checkCollection(
array $collection): bool
80 if (is_null($collection))
85 $attach = array_filter($collection,
function ($attach) {
86 return !($attach instanceof
Attach);
89 return empty($attach);
__construct(array $collection=[])
static createInstance(array $collection=[])
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
</p ></td >< td valign=top style='border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 2.0pt 0cm 2.0pt;height:9.0pt'>< p class=Normal align=center style='margin:0cm;margin-bottom:.0001pt;text-align:center;line-height:normal'>< a name=ТекстовоеПоле54 ></a ><?=($taxRate > count( $arTaxList) > 0) ? $taxRate."%"