SegmentInterface
in
Represent a segment of an EDI message.
Table of Contents
Methods
- getAllElements() : array<string|int, array<string|int, string>|string>
- Get all the elements from the segment.
- getElement() : mixed
- Get an element from the segment.
- getSegmentCode() : string
- Get the code of this segment.
Methods
getAllElements()
Get all the elements from the segment.
public
getAllElements() : array<string|int, array<string|int, string>|string>
Return values
array<string|int, array<string|int, string>|string>getElement()
Get an element from the segment.
public
getElement(int $key) : mixed
Parameters
- $key : int
Return values
mixed —Returns null if the element does not exist
getSegmentCode()
Get the code of this segment.
public
getSegmentCode() : string