PHP Класс opensrs\backwardcompatibility\dataconversion\DataConversion

Наследование: extends opensrs\Base
Показать файл Открыть проект

Открытые методы

Метод Описание
convertDataObject ( $dataObject, $newStructure ) Method to convert original $data object structure to match the structure that the actual API uses This is for backward compatibility with older implementations that make use of this toolkit. It will not be run on newer implementations that send that data pre- formatted in the new structure.
convertOldFieldsToNew ( $dataObject, $newStructure )

Описание методов

convertDataObject() публичный Метод

Method to convert original $data object structure to match the structure that the actual API uses This is for backward compatibility with older implementations that make use of this toolkit. It will not be run on newer implementations that send that data pre- formatted in the new structure.
public convertDataObject ( $dataObject, $newStructure )

convertOldFieldsToNew() публичный Метод

public convertOldFieldsToNew ( $dataObject, $newStructure )