10use \Bitrix\Sender\Connector;
105 if(!static::canRunForOldData())
123 return $this->isRunForOldData;
140 if(is_array($this->fields))
141 return $this->fields;
153 if($this->fields && array_key_exists($name, $this->fields))
155 return $this->fields[$name];
159 return $defaultValue;
177 if(is_array($this->params))
178 return $this->params;
188 public function getParam($name, $defaultValue =
null)
190 if($this->params && array_key_exists($name, $this->params))
192 return $this->params[$name];
196 return $defaultValue;
258 $returnName = array();
260 $nameParsed = explode(
'[', $name);
261 $returnName[] =
'['.$nameParsed[0].
']';
262 if(count($nameParsed) > 1)
264 unset($nameParsed[0]);
265 $returnName[] =
'['.implode(
'[', $nameParsed);
268 return implode(
'', $returnName);
314 $personalizeList = array();
316 foreach($personalizeListTmp as $tag)
318 if($tag[
'CODE'] <>
'')
320 $personalizeList[] = $tag[
'CODE'];
323 $result->setFilterFields($personalizeList);
static getPersonalizeList()
setFields(array $fieldValues=null)
static canRunForOldData()
setFieldPrefix($fieldPrefix)
setParams(array $fieldValues=null)
setFieldFormName($fieldFormName)
getParam($name, $defaultValue=null)
static getPersonalizeList()
getFieldValue($name, $defaultValue=null)
setRunForOldData($isRunForOldData)