line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package VoiceXML::Client::Item::Reprompt; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
|
5
|
3
|
|
|
3
|
|
17
|
use base qw (VoiceXML::Client::Item); |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
219
|
|
6
|
3
|
|
|
3
|
|
17
|
use VoiceXML::Client::Util; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
87
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Copyright (C) 2007,2008 by Pat Deegan. |
12
|
|
|
|
|
|
|
All rights reserved |
13
|
|
|
|
|
|
|
http://voicexml.psychogenic.com |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
This library is released under the terms of the GNU GPL version 3, making it available only for |
16
|
|
|
|
|
|
|
free programs ("free" here being used in the sense of the GPL, see http://www.gnu.org for more details). |
17
|
|
|
|
|
|
|
Anyone wishing to use this library within a proprietary or otherwise non-GPLed program MUST contact psychogenic.com to |
18
|
|
|
|
|
|
|
acquire a distinct license for their application. This approach encourages the use of free software |
19
|
|
|
|
|
|
|
while allowing for proprietary solutions that support further development. |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
This file is part of VoiceXML::Client. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
VoiceXML::Client is free software: you can redistribute it and/or modify |
27
|
|
|
|
|
|
|
it under the terms of the GNU General Public License as published by |
28
|
|
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or |
29
|
|
|
|
|
|
|
(at your option) any later version. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
VoiceXML::Client is distributed in the hope that it will be useful, |
32
|
|
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
33
|
|
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
34
|
|
|
|
|
|
|
GNU General Public License for more details. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License |
37
|
|
|
|
|
|
|
along with VoiceXML::Client. If not, see . |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
3
|
|
|
3
|
|
15
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
100
|
|
46
|
|
|
|
|
|
|
|
47
|
3
|
|
|
|
|
411
|
use vars qw{ |
48
|
|
|
|
|
|
|
$VERSION |
49
|
3
|
|
|
3
|
|
14
|
}; |
|
3
|
|
|
|
|
6
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
$VERSION = $VoiceXML::Client::Item::VERSION; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
sub execute { |
56
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
57
|
0
|
|
|
|
|
|
my $handle = shift; |
58
|
0
|
|
|
|
|
|
my $optParms = shift; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
0
|
|
|
|
|
|
my $vxmlDoc = $self->getParentVXMLDocument(); |
62
|
0
|
|
|
|
|
|
my $parentForm = $self->getParentForm(); |
63
|
0
|
|
|
|
|
|
$vxmlDoc->nextFormId($parentForm->id()); |
64
|
0
|
|
|
|
|
|
$parentForm->reset(); |
65
|
|
|
|
|
|
|
|
66
|
0
|
|
|
|
|
|
return $VoiceXML::Client::Flow::Directive{'JUMP'}; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
1; |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
1; |