$flag = $session->getOpFlag( $class, $operation )

The getOpFlag() function is an alias for getOperationFlag(). The section “getOperationFlag” on page 88 provides additional information.

The getOpFlag() function gets the flag associated with the specified class operation.

The value returned is between 0 and 3, as defined getOpFlag return codes.

Table 1. getOpFlag return codes

Return code

Operation

0

No flag

1

Idempotent

2

Constant

3

Read only

 $flag = $session->getOpFlag( "Router", "makeIP" );