line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
####################################################################### |
2
|
|
|
|
|
|
|
# ex: set ts=8 sw=4 et |
3
|
|
|
|
|
|
|
######################################################################### |
4
|
|
|
|
|
|
|
package WWW::Facebook::API::Admin; |
5
|
|
|
|
|
|
|
|
6
|
34
|
|
|
34
|
|
194
|
use warnings; |
|
34
|
|
|
|
|
68
|
|
|
34
|
|
|
|
|
1226
|
|
7
|
34
|
|
|
34
|
|
184
|
use strict; |
|
34
|
|
|
|
|
69
|
|
|
34
|
|
|
|
|
1127
|
|
8
|
34
|
|
|
34
|
|
194
|
use Carp; |
|
34
|
|
|
|
|
62
|
|
|
34
|
|
|
|
|
20642
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub get_allocation { |
11
|
1
|
|
|
1
|
1
|
24
|
return shift->base->call( 'admin.getAllocation', @_ ); |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub get_app_properties { |
15
|
1
|
|
|
1
|
1
|
27
|
return shift->base->call( 'admin.getAppProperties', @_ ); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub get_metrics { |
19
|
1
|
|
|
1
|
1
|
27
|
return shift->base->call( 'admin.getMetrics', @_ ); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub get_restriction_info { |
23
|
0
|
|
|
0
|
1
|
0
|
return shift->base->call( 'admin.getRestrictionInfo', @_ ); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub set_app_properties { |
27
|
1
|
|
|
1
|
1
|
28
|
return shift->base->call( 'admin.setAppProperties', @_ ); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub set_restriction_info { |
31
|
0
|
|
|
0
|
1
|
|
return shift->base->call( 'admin.setRestrictionInfo', @_ ); |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub ban_users { |
35
|
0
|
|
|
0
|
1
|
|
return shift->base->call( 'admin.banUsers', @_ ); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
sub unban_users { |
39
|
0
|
|
|
0
|
1
|
|
return shift->base->call( 'admin.unbanUsers', @_ ); |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub get_banned_users { |
43
|
0
|
|
|
0
|
1
|
|
return shift->base->call( 'admin.getBannedUsers', @_ ); |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; # Magic true value required at end of module |
47
|
|
|
|
|
|
|
__END__ |