프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$messageTextConf |
메소드 | 설명 | |
---|---|---|
__construct ( string $xmlMsg, array $xmlSeg, string $xmlSvc, array $messageTextConf = null ) | Split multiple messages and process | |
getErrors ( ) | Get errors | |
getJson ( $pretty = false ) | Get result as json | |
getJsonServiceSegments ( $pretty = false ) | Get json service segments | |
getMessages ( ) | Get splitted messages | |
getServiceSegments ( ) | Get service segments | |
prepare ( $parsed ) : array | Split multiple messages and process | |
processXmlGroup ( $elm, $message, &$segmentIdx, &$array, &$errors ) | Proccess an XML Group |
메소드 | 설명 | |
---|---|---|
loopMessage ( $message, $xml ) : array | Transform a parsed edi in its groupings | |
processSegment ( $segment, $xmlMap, $segmentIdx, &$errors = null ) | Add human readable keys as in Analyser | |
processService ( $segments ) | Process UNB / UNZ segments | |
processXmlSegment ( $elm, $message, &$segmentIdx, &$array, &$errors ) | Process an XML Segment | |
splitMessages ( $parsed ) : array | Split multiple messages |
public __construct ( string $xmlMsg, array $xmlSeg, string $xmlSvc, array $messageTextConf = null ) | ||
$xmlMsg | string | Path to XML Message representation |
$xmlSeg | array | Segments processed by EDI\Analyser::loadSegmentsXml |
$xmlSvc | string | Service segments processed by EDI\Analyser::loadSegmentsXml |
$messageTextConf | array | Personalisation of error messages |
public getJsonServiceSegments ( $pretty = false ) |
public processXmlGroup ( $elm, $message, &$segmentIdx, &$array, &$errors ) |