ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
HFile_alphascript.php
Go to the documentation of this file.
1
<?php
2
$BEAUT_PATH
= realpath(
"."
) .
"/Services/COPage/syntax_highlight/php"
;
3
if
(!isset(
$BEAUT_PATH
)) {
4
return
;
5
}
6
require_once(
"$BEAUT_PATH/Beautifier/HFile.php"
);
7
class
HFile_alphascript
extends
HFile
8
{
9
public
function
HFile_alphascript
()
10
{
11
$this->
HFile
();
12
/*************************************/
13
// Beautifier Highlighting Configuration File
14
// AlphaScript
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"
,
"brown"
);
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
"@command"
=>
"1"
,
50
"@date"
=>
"1"
,
51
"@fileout"
=>
"1"
,
52
"@listout"
=>
"1"
,
53
"@regout"
=>
"1"
,
54
"@scriptfile"
=>
"1"
,
55
"@textout"
=>
"1"
,
56
"@time"
=>
"1"
,
57
"@user"
=>
"1"
,
58
"@ver"
=>
"1"
,
59
"!quit"
=>
"2"
,
60
"!#BEGIN"
=>
"3"
,
61
"!#END"
=>
"3"
,
62
"!about"
=>
"4"
,
63
"!clearallvars"
=>
"4"
,
64
"!copy"
=>
"4"
,
65
"!del"
=>
"4"
,
66
"!delay"
=>
"4"
,
67
"!else"
=>
"4"
,
68
"!email"
=>
"4"
,
69
"!emptyfile"
=>
"4"
,
70
"!exe"
=>
"4"
,
71
"!exist"
=>
"4"
,
72
"!fileread"
=>
"4"
,
73
"!goto"
=>
"4"
,
74
"!if"
=>
"4"
,
75
"!input"
=>
"4"
,
76
"!iscancel"
=>
"4"
,
77
"!isfault"
=>
"4"
,
78
"!isnotfound"
=>
"4"
,
79
"!isok"
=>
"4"
,
80
"!let"
=>
"4"
,
81
"!list"
=>
"4"
,
82
"!listadd"
=>
"4"
,
83
"!listclear"
=>
"4"
,
84
"!log"
=>
"4"
,
85
"!msg"
=>
"4"
,
86
"!multitask"
=>
"4"
,
87
"!openfolder"
=>
"4"
,
88
"!regcreate"
=>
"4"
,
89
"!regread"
=>
"4"
,
90
"!regwrite"
=>
"4"
,
91
"!skeys"
=>
"4"
,
92
"!then"
=>
"4"
,
93
"!winactive"
=>
"4"
,
94
"!winkill"
=>
"4"
,
95
"!winwait"
=>
"4"
,
96
"!_closelogwindow"
=>
"4"
,
97
"!_openlogwindow"
=>
"4"
,
98
"!_pauselogwindow"
=>
"4"
);
99
100
// Special extensions
101
102
// Each category can specify a PHP function that returns an altered
103
// version of the keyword.
104
105
106
107
$this->linkscripts =
array
(
108
"1"
=>
"donothing"
,
109
"2"
=>
"donothing"
,
110
"3"
=>
"donothing"
,
111
"4"
=>
"donothing"
);
112
}
113
114
115
public
function
donothing
($keywordin)
116
{
117
return
$keywordin;
118
}
119
}
HFile_alphascript\HFile_alphascript
HFile_alphascript()
Definition:
HFile_alphascript.php:9
$BEAUT_PATH
$BEAUT_PATH
Definition:
HFile_alphascript.php:2
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
HFile
Definition:
HFile.php:21
HFile_alphascript
Definition:
HFile_alphascript.php:7
HFile_alphascript\donothing
donothing($keywordin)
Definition:
HFile_alphascript.php:115
Services
COPage
syntax_highlight
php
HFile
HFile_alphascript.php
Generated on Sat Mar 1 2025 19:01:30 for ILIAS by
1.8.13 (using
Doxyfile
)