47 \Bitrix\Landing\Landing::disableCheckUniqueAddress();
48 $addResult = \Bitrix\Landing\Landing::add($fields);
49 \Bitrix\Landing\Landing::enableCheckUniqueAddress();
51 if ($addResult->isSuccess())
53 return $addResult->getId();
57 $this->result->addErrors($addResult->getErrors());
112 \Bitrix\Landing\Landing::setEditMode();
114 $landingInstance = \Bitrix\Landing\Landing::createInstance($copiedLandingId);
115 if ($landingInstance->exist())
117 $results[] = $this->copyBlocks($landingId, $copiedLandingId);
129 $landingErrorCollection = $landingInstance->getError();
130 if ($landingErrorCollection->getErrors())
133 $result->addErrors($landingErrorCollection->getErrors());