ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_gedcom Class Reference
+ Inheritance diagram for HFile_gedcom:
+ Collaboration diagram for HFile_gedcom:

Public Member Functions

 HFile_gedcom ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 7 of file HFile_gedcom.php.

Member Function Documentation

◆ donothing()

HFile_gedcom::donothing (   $keywordin)

Definition at line 238 of file HFile_gedcom.php.

239  {
240  return $keywordin;
241  }

◆ HFile_gedcom()

HFile_gedcom::HFile_gedcom ( )

Definition at line 9 of file HFile_gedcom.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // Gedcom
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "0";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple", "gray");
25  $this->quotecolour = "blue";
26  $this->blockcommentcolour = "green";
27  $this->linecommentcolour = "green";
28 
29  // Indent Strings
30 
31  $this->indent = array();
32  $this->unindent = array();
33 
34  // String characters and delimiters
35 
36  $this->stringchars = array("@");
37  $this->delimiters = array(",", "/", "#", " ", "!", ">", "<", " ", ".", "?");
38  $this->escchar = "";
39 
40  // Comment settings
41 
42  $this->linecommenton = array("");
43  $this->blockcommenton = array("");
44  $this->blockcommentoff = array("");
45 
46  // Keywords (keyword mapping to colour number)
47 
48  $this->keywords = array(
49  "ABBR" => "1",
50  "ADDR" => "1",
51  "ADR1" => "1",
52  "ADR2" => "1",
53  "ADOP" => "1",
54  "AFN" => "1",
55  "AGE" => "1",
56  "AGNC" => "1",
57  "ALIA" => "1",
58  "ANCE" => "1",
59  "ANCI" => "1",
60  "ANUL" => "1",
61  "ASSO" => "1",
62  "AUTH" => "1",
63  "BAPL" => "1",
64  "BAPM" => "1",
65  "BARM" => "1",
66  "BASM" => "1",
67  "BIRT" => "1",
68  "BLES" => "1",
69  "BLOB" => "1",
70  "BURI" => "1",
71  "CALN" => "1",
72  "CAST" => "1",
73  "CAUS" => "1",
74  "CENS" => "1",
75  "CHAN" => "1",
76  "CHAR" => "1",
77  "CHIL" => "1",
78  "CHR" => "1",
79  "CHRA" => "1",
80  "CITY" => "1",
81  "CONC" => "1",
82  "CONF" => "1",
83  "CONL" => "1",
84  "CONT" => "1",
85  "COPR" => "1",
86  "CORP" => "1",
87  "CREM" => "1",
88  "CTRY" => "1",
89  "DATA" => "1",
90  "DATE" => "1",
91  "DEAT" => "1",
92  "DESC" => "1",
93  "DESI" => "1",
94  "DEST" => "1",
95  "DIV" => "1",
96  "DIVF" => "1",
97  "DSCR" => "1",
98  "EDUC" => "1",
99  "EMIG" => "1",
100  "ENDL" => "1",
101  "ENGA" => "1",
102  "EVEN" => "1",
103  "FAM" => "1",
104  "FAMC" => "1",
105  "FAMF" => "1",
106  "FAMS" => "1",
107  "FCOM" => "1",
108  "FILE" => "1",
109  "FORM" => "1",
110  "GEDC" => "1",
111  "GIVN" => "1",
112  "GRAD" => "1",
113  "HEAD" => "1",
114  "HUSB" => "1",
115  "IDNO" => "1",
116  "IMMI" => "1",
117  "INDI" => "1",
118  "LANG" => "1",
119  "LEGA" => "1",
120  "MARB" => "1",
121  "MARC" => "1",
122  "MARL" => "1",
123  "MARR" => "1",
124  "MARS" => "1",
125  "MEDI" => "1",
126  "NAME" => "1",
127  "NATI" => "1",
128  "NATU" => "1",
129  "NCHI" => "1",
130  "NICK" => "1",
131  "NMR" => "1",
132  "NOTE" => "1",
133  "NPFX" => "1",
134  "NSFX" => "1",
135  "OBJE" => "1",
136  "OCCU" => "1",
137  "ORDI" => "1",
138  "ORDN" => "1",
139  "PAGE" => "1",
140  "PEDI" => "1",
141  "PHON" => "1",
142  "PLAC" => "1",
143  "POST" => "1",
144  "PROB" => "1",
145  "PROP" => "1",
146  "PUBL" => "1",
147  "QUAY" => "1",
148  "REFN" => "1",
149  "RELA" => "1",
150  "RELI" => "1",
151  "REPO" => "1",
152  "RESI" => "1",
153  "RESN" => "1",
154  "RETI" => "1",
155  "RFN" => "1",
156  "RIN" => "1",
157  "ROLE" => "1",
158  "SEX" => "1",
159  "SLGC" => "1",
160  "SLGS" => "1",
161  "SOUR" => "1",
162  "SPFX" => "1",
163  "SSN" => "1",
164  "STAE" => "1",
165  "STAT" => "1",
166  "SUBM" => "1",
167  "SUBN" => "1",
168  "SURN" => "1",
169  "TEMP" => "1",
170  "TEXT" => "1",
171  "TIME" => "1",
172  "TITL" => "1",
173  "TRLR" => "1",
174  "TYPE" => "1",
175  "VERS" => "1",
176  "WIFE" => "1",
177  "WILL" => "1",
178  "APR" => "2",
179  "AUG" => "2",
180  "bmp" => "2",
181  "DEC" => "2",
182  "FEB" => "2",
183  "gif" => "2",
184  "jpeg" => "2",
185  "JAN" => "2",
186  "JUL" => "2",
187  "JUN" => "2",
188  "MAR" => "2",
189  "MAY" => "2",
190  "NOV" => "2",
191  "OCT" => "2",
192  "ole" => "2",
193  "pcx" => "2",
194  "SEP" => "2",
195  "tiff" => "2",
196  "wav" => "2",
197  "adopted" => "3",
198  "birth" => "3",
199  "foster" => "3",
200  "sealing" => "3",
201  "ABT" => "3",
202  "AFT" => "3",
203  "AND" => "3",
204  "BEF" => "3",
205  "BET" => "3",
206  "BIC" => "3",
207  "BOTH" => "3",
208  "CAL" => "3",
209  "CANCELED" => "3",
210  "CHILD" => "3",
211  "CLEARED" => "3",
212  "COMPLETED" => "3",
213  "EST" => "3",
214  "FROM" => "3",
215  "INFANT" => "3",
216  "INT" => "3",
217  "PRE-1970" => "3",
218  "QUALIFIED" => "3",
219  "STILLBORN" => "3",
220  "SUBMITTED" => "3",
221  "TO" => "3",
222  "UNCLEARED" => "3");
223 
224  // Special extensions
225 
226  // Each category can specify a PHP function that returns an altered
227  // version of the keyword.
228 
229 
230 
231  $this->linkscripts = array(
232  "1" => "donothing",
233  "2" => "donothing",
234  "3" => "donothing");
235  }
Create styles array
The data for the language used.
Definition: HFile.php:21

The documentation for this class was generated from the following file: