PHP Class RecordFactory, phpMobi

This is a factory class to build records for accessing metadata.
Mostra file Open project: raiju/phpMobi Class Usage Examples

Public Methods

Method Description
__construct ( Settings $settings ) Create the helper class
__toString ( )
createEOFRecord ( )
createFCISRecord ( $textLength )
createFLISRecord ( )
createRecords ( string $data ) : array(Record) Create records from a data string

Private Methods

Method Description
asString ( $int, $size )

Method Details

__construct() public method

Create the helper class
public __construct ( Settings $settings )
$settings Settings The Settings to be used for the records

__toString() public method

public __toString ( )

createEOFRecord() public method

public createEOFRecord ( )

createFCISRecord() public method

public createFCISRecord ( $textLength )

createFLISRecord() public method

public createFLISRecord ( )

createRecords() public method

Create records from a data string
public createRecords ( string $data ) : array(Record)
$data string
return array(Record)