Changeset 110 for server/trunk/web/lib/Sophie
- Timestamp:
- 12/11/10 06:04:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Model/Help/POD.pm
r102 r110 57 57 } 58 58 59 sub bot_help_html { 60 my ($self, $cmd) = @_; 61 my $botpom = $self->{pom}{'Chat::Cmd'}; 62 foreach my $head1 ($botpom->content) { 63 $head1->title eq 'AVAILLABLE FUNCTIONS' or next; 64 foreach ($head1->content) { 65 $_->title =~ /^\Q$cmd\E( |$)/ or next; 66 my $ppvh = Pod::POM::View::HTML->new; 67 return $_->present($ppvh); 68 } 69 last; 70 } 71 return; 72 } 73 74 sub chat_functions { 75 my ($self) = @_; 76 my $botpom = $self->{pom}{'Chat::Cmd'}; 77 foreach my $head1 ($botpom->content) { 78 $head1->title eq 'AVAILLABLE FUNCTIONS' or next; 79 my $ppvh = Pod::POM::View::HTML->new; 80 return $head1->present($ppvh); 81 } 82 return; 83 } 84 59 85 60 86 sub xmlrpc_functions {
Note: See TracChangeset
for help on using the changeset viewer.