ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
HFile_cuesheet.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_cuesheet
extends
HFile
8
{
9
public
function
HFile_cuesheet
()
10
{
11
$this->
HFile
();
12
/*************************************/
13
// Beautifier Highlighting Configuration File
14
// Cue Sheets
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"
,
"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
"CATALOG"
=>
"1"
,
50
"FILE"
=>
"1"
,
51
"TRACK"
=>
"2"
,
52
"FLAGS"
=>
"3"
,
53
"INDEX"
=>
"3"
,
54
"ISRC"
=>
"3"
,
55
"POSTGAP"
=>
"3"
,
56
"PREGAP"
=>
"3"
,
57
"REM"
=>
"3"
,
58
"4CH"
=>
"4"
,
59
"AIFF"
=>
"4"
,
60
"AUDIO"
=>
"4"
,
61
"BINARY"
=>
"4"
,
62
"CDG"
=>
"4"
,
63
"DCP"
=>
"4"
,
64
"MODE1/2048"
=>
"4"
,
65
"MODE1/2352"
=>
"4"
,
66
"MODE2/2336"
=>
"4"
,
67
"MODE2/2352"
=>
"4"
,
68
"MOTOROLA"
=>
"4"
,
69
"PRE"
=>
"4"
,
70
"WAVE"
=>
"4"
);
71
72
// Special extensions
73
74
// Each category can specify a PHP function that returns an altered
75
// version of the keyword.
76
77
78
79
$this->linkscripts =
array
(
80
"1"
=>
"donothing"
,
81
"2"
=>
"donothing"
,
82
"3"
=>
"donothing"
,
83
"4"
=>
"donothing"
);
84
}
85
86
87
public
function
donothing
($keywordin)
88
{
89
return
$keywordin;
90
}
91
}
$BEAUT_PATH
$BEAUT_PATH
Definition:
HFile_cuesheet.php:2
HFile_cuesheet\donothing
donothing($keywordin)
Definition:
HFile_cuesheet.php:87
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
HFile_cuesheet
Definition:
HFile_cuesheet.php:7
HFile
Definition:
HFile.php:21
HFile_cuesheet\HFile_cuesheet
HFile_cuesheet()
Definition:
HFile_cuesheet.php:9
Services
COPage
syntax_highlight
php
HFile
HFile_cuesheet.php
Generated on Sat Jan 18 2025 19:01:30 for ILIAS by
1.8.13 (using
Doxyfile
)