Bus/lngbase/CGI_Bus_tmsql.pm untested

filter: Statementstmt 0.0% 0 / 51 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 54 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 # 16/12/2001
5 #
6 #
7
8 package CGI::Bus::lngbase::CGI_Bus_tmsql; # Language base
9 #use CGI::Bus::lngbase::CGI_Bus_tm;
10 use strict;
11
12 1;
13
14 sub lngbase {
15 my @msg;
16 #push @msg, CGI::Bus::lngbase::CGI_Bus_tm::lngbase;
17 push @msg,
18 (-nap=>['Top', 'The topmost level']
19 ,-nup=>['Up', 'An upper level']
20 ,-nth=>['Reset', 'This application default']
21 ,-bck=>['Back', 'Back to previous screen']
22 ,-lgn=>['Login', 'Login to the System']
23 ,-lst=>['List', 'List records, select records under query condition']
24 ,-lsr=>['List', 'List records']
25 ,-qry=>['Query', 'Query condition to list records by']
26 ,-crt=>['New', 'New record creation to insert it to the database']
27 ,-sel=>['Read', '(Re)read data from database, select record; escape edit mode discarding changes']
28 ,-prn=>['Print', 'Printable form']
29 ,-edt=>['Edit', 'Edit mode switch']
30 ,-frm=>['Form', 'Form reload and review, data recalculation']
31 ,-upd=>['Update', 'Update record in the database, save changes']
32 ,-del=>['Delete', 'Delete record from the database']
33 ,-ins=>['Insert', 'Insert new record into database']
34 ,-hlp=>['Help', 'Open Help screen']
35
36 ,'op!let' =>['', 'Operation \'$_\' is not allowed']
37 ,'op!acl2'=>['', 'Operation \'$_\' is not allowed by acl to']
38 ,'!constr'=>['', 'Constraint violations']
39 ,'fldReq' =>['', 'Field \'$_\' value required']
40 ,'!rfetch'=>['', 'No data fetched from database']
41 ,'rfetch' =>['', '$_ rows fetched']
42 ,'rfetchf'=>['', 'First $_ rows fetched']
43 ,'Success'=>['Success','Success operation']
44 ,'Failure'=>['Failure','Failure operation']
45
46 ,'Versions' =>['Versions', 'Versions of record']
47 ,'LIST' =>['LIST', 'Lists of records']
48 ,'WHERE' =>['WHERE', 'WHERE SQL query condition']
49 ,'F-TEXT' =>['F-TEXT', 'Full-Text search, Find text']
50 ,'ORDER BY' =>['ORDER BY', 'ORDER BY SQL query condition clause']
51 ,'LIMIT ROWS'=>['LIMIT ROWS','Maximum number of rows to fetch']
52
53 ,'Help' =>['Help', '']
54 ,'Lists' =>['Views', 'Views (lists of records) defined by application']
55 ,'Fields' =>['Fields', 'Data fields defined by application']
56 ,'Commands' =>['Commands', 'Commands may be used']
57 ,'Versioning' =>['Versioning', 'Records versioning settings']
58 ,'-vsd-svd' =>['', 'State versioning disable, \'Edit\' state']
59 ,'-vsd-sd' =>['', 'State record deleted']
60 ,'File Store' =>['File Store', 'File attachments store settings']
61 ,'-fsd-url' =>['', 'File store root']
62 ,'-fsd-vsurl' =>['', 'Old versions store root']
63 ,'-fsd-vsd-e' =>['Edit state', 'Editing of files attached allowed only while record stored with \'edit\' state $_']
64 ,'-fsd-vsd-ei' =>['Templates usage','Use \'edit\' $_ -> \'Insert\' transaction to create record from template and immediately edit files attached']
65 );
66 @msg
67 }
68