• Модуль: timeman
  • Путь к файлу: ~/bitrix/modules/timeman/lib/util/form/baseform.php
  • Класс: BitrixTimemanUtilFormBaseForm
  • Вызов: BaseForm::fillFields
private function fillFields($values, $loadableOnly = true)
{
	if (!is_array($values))
	{
		return;
	}

	$fields = array_flip($loadableOnly ? $this->getLoadableFields() : $this->buildFormFields());
	foreach ($values as $name => $value)
	{
		if (array_key_exists($name, $fields))
		{
			$this->$name = $value;
		}
	}
}