Bus/lngbase/CGI_Bus_tm.pm untested

filter: Statementstmt 0.0% 0 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 31 CC 1 SCAR 6.9
CC
1
Cov
0%
lngbase
2.0
BEGIN
2.0
CRAP 2.0
1 #!perl -w
2 #
3 # admiral
4 # 19/01/2002
5 #
6 #
7
8 package CGI::Bus::lngbase::CGI_Bus_tm; # Language base
9 use strict;
10
11
12 1;
13
14 sub lngbase {
15 (-nap=>['Top', 'The topmost level']
16 ,-nup=>['Up', 'An upper level']
17 ,-nth=>['Reset', 'This application default']
18 ,-bck=>['Back', 'Back to previous screen']
19 ,-lgn=>['Login', 'Login to the System']
20 ,-lst=>['List', 'List records, select records under query condition']
21 ,-lsr=>['List', 'List records']
22 ,-qry=>['Query', 'Query condition to list records by']
23 ,-crt=>['New', 'New record creation to insert it to the database']
24 ,-sel=>['Read', '(Re)read data from database, select record; escape edit mode discarding changes']
25 ,-prn=>['Print', 'Printable form']
26 ,-edt=>['Edit', 'Edit mode switch']
27 ,-frm=>['Form', 'Form reload and review, data recalculation']
28 ,-upd=>['Update', 'Update record in the database, save changes of this record']
29 ,-del=>['Delete', 'Delete record from the database']
30 ,-ins=>['Insert', 'Insert new record into database']
31 ,-hlp=>['Help', 'Open Help screen']
32
33 ,'op!let' => ['', 'Operation \'$_\' is not allowed']
34 ,'!constr' => ['', 'Constraint violations']
35
36 ,'Help' =>['Help', '']
37 ,'Lists' =>['Views', 'Views (lists of records) defined by application']
38 ,'Fields' =>['Fields', 'Data fields defined by application']
39 ,'Commands' =>['Commands', 'Commands may be used']
40 )
41 }
42