-
Notifications
You must be signed in to change notification settings - Fork 1
USPSTools Parse AIS CS215N
Ben Dauphinee edited this page Aug 8, 2014
·
1 revision
This class is for parsing USPS AIS product CS215N, known as "City State National".
- Class name: CS215N
- Namespace: USPSTools\Parse\AIS
- Parent class: USPSTools\Parse
protected mixed $lineLength
A variable to store the length of a line for each file type.
- Visibility: protected
- This property is static.
array USPSTools\Parse\AIS\CS215N::\USPSTools\Parse\AIS\CS215N::parseLine()(string $line, string $seekingRecordType)
Parse a line from the input file.
- Visibility: public
- This method is static.
- $line string - A line of data from the input file.
- $seekingRecordType string - [Optional] A record type to specifically seek and return. If <pre><code> set and current record does not match this, we will not spend the cycles to parse the rest of the record.</code></pre>
mixed USPSTools\Parse\AIS\CS215N::\USPSTools\Parse::parseFile()($filename, string $seekingRecordType, $startLine, $numberOfLines)
Processes an entire file worth of records.
- Visibility: public
- This method is static.
- $filename mixed
- $seekingRecordType string - [Optional] A record type to specifically seek and return. If <pre><code> set and current record does not match this, we will not spend the cycles to parse the rest of the record.</code></pre>
- $startLine mixed
- $numberOfLines mixed