Please enable JavaScript to view this site.

The manual for the JobRouter developer

Navigation: System activities > Description of the PHP API for system activities > API methods > Work with subtables

getSubtableRowIds(string $subtable): array

Scroll Prev Top Next More

Determines the line IDs of the rows contained in a subtable.

Parameter

Type

Description

$subtable

string

Name of the subtable

If an error occurs, the function throws a JobRouterException.

Example:

try {

    $subtableRowIds = $this->getSubtableRowIds("mySubtableName");

} catch (JobRouterException $e) {

    $this->error($e->getMessage());

    throw new JobRouterException('An error has occurred. For further details, please refer to the log file.');

}