Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
leaditem.php
1<?
9
26class LeadItem extends Item
27{
29 protected $data = [
30 'leadId' => null,
31 'groupId' => null,
32 'userId' => null,
33 'formId' => null,
34 'answers' => [],
35 'source' => null,
36 ];
37
45 public function addAnswer($key, array $values)
46 {
47 $answers = $this->getAnswers();
48 $answers[$key] = $values;
49 return $this->setAnswers($answers);
50 }
51}
52
addAnswer($key, array $values)
Definition leaditem.php:45