@@ -7,15 +7,15 @@ Test SNMP Reflection
7
7
8
8
/* ALL PHP_ME user callable methods of SNMP class should appear here */
9
9
10
- reflection:: export ( new reflectionmethod ('snmp ' , '__construct ' ) );
11
- reflection:: export ( new reflectionmethod ('snmp ' , 'close ' ) );
12
- reflection:: export ( new reflectionmethod ('snmp ' , 'setSecurity ' ) );
13
- reflection:: export ( new reflectionmethod ('snmp ' , 'get ' ) );
14
- reflection:: export ( new reflectionmethod ('snmp ' , 'getnext ' ) );
15
- reflection:: export ( new reflectionmethod ('snmp ' , 'walk ' ) );
16
- reflection:: export ( new reflectionmethod ('snmp ' , 'set ' ) );
17
- reflection:: export ( new reflectionmethod ('snmp ' , 'getErrno ' ) );
18
- reflection:: export ( new reflectionmethod ('snmp ' , 'getError ' ) );
10
+ echo new reflectionmethod ('snmp ' , '__construct ' );
11
+ echo new reflectionmethod ('snmp ' , 'close ' );
12
+ echo new reflectionmethod ('snmp ' , 'setSecurity ' );
13
+ echo new reflectionmethod ('snmp ' , 'get ' );
14
+ echo new reflectionmethod ('snmp ' , 'getnext ' );
15
+ echo new reflectionmethod ('snmp ' , 'walk ' );
16
+ echo new reflectionmethod ('snmp ' , 'set ' );
17
+ echo new reflectionmethod ('snmp ' , 'getErrno ' );
18
+ echo new reflectionmethod ('snmp ' , 'getError ' );
19
19
20
20
21
21
?>
@@ -32,13 +32,11 @@ Method [ <internal:snmp, ctor> public method __construct ] {
32
32
Parameter #4 [ <optional> $retries ]
33
33
}
34
34
}
35
-
36
35
Method [ <internal:snmp> public method close ] {
37
36
38
37
- Parameters [0] {
39
38
}
40
39
}
41
-
42
40
Method [ <internal:snmp> public method setSecurity ] {
43
41
44
42
- Parameters [7] {
@@ -51,23 +49,20 @@ Method [ <internal:snmp> public method setSecurity ] {
51
49
Parameter #6 [ <required> $contextEngineID ]
52
50
}
53
51
}
54
-
55
52
Method [ <internal:snmp> public method get ] {
56
53
57
54
- Parameters [2] {
58
55
Parameter #0 [ <required> $object_id ]
59
56
Parameter #1 [ <optional> $use_orignames ]
60
57
}
61
58
}
62
-
63
59
Method [ <internal:snmp> public method getnext ] {
64
60
65
61
- Parameters [2] {
66
62
Parameter #0 [ <required> $object_id ]
67
63
Parameter #1 [ <optional> $use_orignames ]
68
64
}
69
65
}
70
-
71
66
Method [ <internal:snmp> public method walk ] {
72
67
73
68
- Parameters [4] {
@@ -77,7 +72,6 @@ Method [ <internal:snmp> public method walk ] {
77
72
Parameter #3 [ <required> $non_repeaters ]
78
73
}
79
74
}
80
-
81
75
Method [ <internal:snmp> public method set ] {
82
76
83
77
- Parameters [3] {
@@ -86,17 +80,14 @@ Method [ <internal:snmp> public method set ] {
86
80
Parameter #2 [ <required> $value ]
87
81
}
88
82
}
89
-
90
83
Method [ <internal:snmp> public method getErrno ] {
91
84
92
85
- Parameters [0] {
93
86
}
94
87
}
95
-
96
88
Method [ <internal:snmp> public method getError ] {
97
89
98
90
- Parameters [0] {
99
91
}
100
92
}
101
-
102
93
===DONE===
0 commit comments