Lines Matching refs:session
23 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
24 var_dump($session);
26 $session->max_oids = 40;
27 $session->enum_print = TRUE;
28 $session->quick_print = TRUE;
29 $session->valueretrieval = SNMP_VALUE_LIBRARY;
30 $session->oid_output_format = SNMP_OID_OUTPUT_NUMERIC;
31 $session->oid_increasing_check = FALSE;
33 var_dump($session);
35 $session->max_oids = "40";
36 $session->enum_print = "1";
37 $session->quick_print = "1";
38 $session->valueretrieval = "1";
39 $session->oid_output_format = "3";
40 $session->oid_increasing_check = "45";
42 var_dump($session);
44 var_dump(property_exists($session, "enum_print"));
45 var_dump(isset($session->enum_print));
46 var_dump(empty($session->enum_print));
49 $session->$param = "param_value";
50 var_dump($session);
51 var_dump($session->$param);
52 var_dump(property_exists($session, $param));
56 var_dump($session->$param);
57 var_dump(property_exists($session, $param));
60 $session->valueretrieval = 67;
61 var_dump($session->valueretrieval);
66 $session->oid_output_format = 78;
67 var_dump($session->oid_output_format);
72 $session->info = array("blah" => 2);
73 var_dump($session->info);
78 $session->max_oids = NULL;
79 var_dump($session->max_oids);