false]); } public static function prepareToField($arTarif) { return serialize($arTarif); } /** * getByPaySystemId * returns saved tarif's values * @return array */ protected static function getValuesByPSAId($psaId) { $arResult = array(); if(isset(self::$arItems[$psaId])) { $arResult = self::$arItems[$psaId]; } else { $psa = CSalePaySystemAction::GetByID($psaId); if(is_array($psa) && isset($psa['TARIF']) && is_array($psa['TARIF'])) $arResult = self::$arItems[$psaId] = unserialize($psa['TARIF'], ['allowed_classes' => false]); } return $arResult; } } ?>