• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/quickanswers/quickanswer.php
  • Класс: BitrixImOpenlinesQuickAnswersQuickAnswer
  • Вызов: QuickAnswer::initFromArray
protected function initFromArray($data)
{
	foreach($data as $key => $value)
	{
		$attribute = mb_strtolower($key);
		if(property_exists($this, $attribute))
		{
			$this->$attribute = $value;
		}
	}
}