• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/entity/base.php
  • Класс: BitrixSenderEntityBase
  • Вызов: Base::save
public function save()
{
	$this->clearErrors();

	$id = $this->saveData($this->getId(), $this->getData());
	if ($id)
	{
		$this->setId($id);
	}

	if (!$this->hasErrors())
	{
		$this->saveSearchIndex();
	}

	return !$this->hasErrors();
}