Lines Matching refs:session
21 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
22 var_dump($session);
24 $session->max_oids = 40;
25 $session->enum_print = TRUE;
26 $session->quick_print = TRUE;
27 $session->valueretrieval = SNMP_VALUE_LIBRARY;
28 $session->oid_output_format = SNMP_OID_OUTPUT_NUMERIC;
29 $session->oid_increasing_check = FALSE;
31 var_dump($session);
33 $session->max_oids = "40";
34 $session->enum_print = "1";
35 $session->quick_print = "1";
36 $session->valueretrieval = "1";
37 $session->oid_output_format = "3";
38 $session->oid_increasing_check = "45";
40 var_dump($session);
42 var_dump(property_exists($session, "enum_print"));
43 var_dump(isset($session->enum_print));
44 var_dump(empty($session->enum_print));
47 $session->$param = "param_value";
48 var_dump($session);
49 var_dump($session->$param);
50 var_dump(property_exists($session, $param));
54 var_dump($session->$param);
55 var_dump(property_exists($session, $param));
57 $session->valueretrieval = 67;
58 var_dump($session->valueretrieval);
59 $session->oid_output_format = 78;
60 var_dump($session->oid_output_format);
62 $session->info = array("blah" => 2);
63 var_dump($session->info);
65 $session->max_oids = NULL;
66 var_dump($session->max_oids);