• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/orm/objectify/entityobject.php
  • Класс: BitrixMainORMObjectifyEntityObject
  • Вызов: EntityObject::sysChangeState
public function sysChangeState($state)
{
	if ($this->_state !== $state)
	{
		/* not sure if we need check or changes here
		if ($state == State::RAW)
		{
			// actual should be empty
		}
		elseif ($state == State::ACTUAL)
		{
			// runtime values should be empty
		}
		elseif ($state == State::CHANGED)
		{
			// runtime values should not be empty
		}*/

		$this->_state = $state;
	}

}