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));
58 $session->valueretrieval = 67;
59 var_dump($session->valueretrieval);
64 $session->oid_output_format = 78;
65 var_dump($session->oid_output_format);
70 $session->info = array("blah" => 2);
71 var_dump($session->info);
76 $session->max_oids = NULL;
77 var_dump($session->max_oids);