• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/orm/objectify/collection.php
  • Класс: BitrixMainORMObjectifyCollection
  • Вызов: Collection::__set
public function __set($name, $value)
{
	switch ($name)
	{
		case 'entity':
		case 'dataClass':
			throw new SystemException(sprintf(
				'Property `%s` for collection `%s` is read-only', $name, get_called_class()
			));
	}

	throw new SystemException(sprintf(
		'Unknown property `%s` for collection `%s`', $name, get_called_class()
	));
}