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

Public Member Functions

 HFile_sacs4 ()
 
 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_sacs4.php.

Member Function Documentation

◆ donothing()

HFile_sacs4::donothing (   $keywordin)

Definition at line 112 of file HFile_sacs4.php.

113  {
114  return $keywordin;
115  }

◆ HFile_sacs4()

HFile_sacs4::HFile_sacs4 ( )

Definition at line 9 of file HFile_sacs4.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // SACS IV
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "1";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple");
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  "AMOD" => "1",
50  "DEAD" => "1",
51  "END" => "1",
52  "GRUP" => "1",
53  "HYDRO" => "1",
54  "JOINT" => "1",
55  "LDCASE" => "1",
56  "LDCOMB" => "1",
57  "LDOPT" => "1",
58  "LOAD" => "1",
59  "LOADCN" => "1",
60  "MEMBER" => "1",
61  "OPTIONS" => "1",
62  "PGRUP" => "1",
63  "PLATE" => "1",
64  "PSTIF" => "1",
65  "REDESIGN" => "1",
66  "SECT" => "1",
67  "SECS" => "1",
68  "SHELL" => "1",
69  "SOLID" => "1",
70  "UCPART" => "1",
71  "CONC" => "2",
72  "ELASTI" => "2",
73  "F" => "2",
74  "JOIN" => "2",
75  "MOMT" => "2",
76  "MN" => "2",
77  "MT" => "2",
78  "N" => "2",
79  "OFFSET" => "2",
80  "OFFSETS" => "2",
81  "PERSET" => "2",
82  "PRI" => "2",
83  "SPC" => "2",
84  "SPG" => "2",
85  "STB" => "2",
86  "STC" => "2",
87  "STM" => "2",
88  "STT" => "2",
89  "TEE" => "2",
90  "TEMP" => "2",
91  "THICK" => "2",
92  "TUB" => "2",
93  "UNIF" => "2",
94  "WF" => "2",
95  "X" => "2",
96  "Y" => "2",
97  "Z" => "2");
98 
99  // Special extensions
100 
101  // Each category can specify a PHP function that returns an altered
102  // version of the keyword.
103 
104 
105 
106  $this->linkscripts = array(
107  "1" => "donothing",
108  "2" => "donothing");
109  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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