$access = $session->getPropAccess( $class, $property )

The getPropAccess() function returns a number that indicates the level of access to the specified property.

 $access = $session->getPropAccess( "Router", "Vendor" );

The return value effectively identifies the method by which the property value is obtained internally. Possible values and their meanings are listed in getPropAccess return codes .

Table 1. getPropAccess return codes

Return code

Property access level

0

No access

1

Stored

2

Computed

3

Instrumented

4

Propagated

5

Uncomputable

6

Computed with expression