PHP 클래스 opensrs\backwardcompatibility\dataconversion\DataConversion

상속: extends opensrs\Base
파일 보기 프로젝트 열기: opensrs/osrs-toolkit-php

공개 메소드들

메소드 설명
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 )