PHP Developer's API Reference guide

Functions

Total number of functions: 2. Functions supported are:

set_error($msg)
next_id($reset)

set_error

set_error($msg)

[Since version 0.0.1]

Function to set the error message from the library.

@msg [string]: error message string
Returns: None

next_id

next_id($reset)

[Since version 0.0.1]

Function to get the next chunk id, can be reset to 0 before processing to start over.

@reset [int]: flag to reset the chunk id counter or not, can be 0 (don't reset) or 1 (reset)
Returns: id of new chunk