Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
formrecovery.php
1<?php
3
5{
6 public static function getDataFromForm(array $collectionAvailableFields, array $fieldsFromForm, array $specialFields)
7 {
8 $result = array();
9 foreach ($fieldsFromForm as $fieldKey => $fieldValue)
10 if (in_array($fieldKey, $collectionAvailableFields) && !in_array($fieldKey, $specialFields))
11 $result[$fieldKey] = $fieldValue;
12
13 return $result;
14 }
15
16}
static getDataFromForm(array $collectionAvailableFields, array $fieldsFromForm, array $specialFields)