ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
HFile_nc Class Reference
+ Inheritance diagram for HFile_nc:
+ Collaboration diagram for HFile_nc:

Public Member Functions

 HFile_nc ()
 
 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 5 of file HFile_nc.php.

Member Function Documentation

◆ donothing()

HFile_nc::donothing (   $keywordin)

Definition at line 77 of file HFile_nc.php.

78 {
79  return $keywordin;
80 }

◆ HFile_nc()

HFile_nc::HFile_nc ( )

Definition at line 6 of file HFile_nc.php.

References array.

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // NC Files
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "1";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("purple", "blue", "purple", "gray", "blue");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array();
33 $this->delimiters = array("A", "B", "C", "I", "J", "K", "P", "Q", "R", "U", "V", "W", "X", "Y", "Z", "(", " ", ")", "=", "-", "+", "*");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("$");
39 $this->blockcommenton = array("(");
40 $this->blockcommentoff = array(")");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "**" => "6",
46  "%" => "1",
47  ":" => "1",
48  "O" => "1",
49  "H" => "1",
50  "N" => "1",
51  "M" => "2",
52  "G" => "3",
53  "D" => "5",
54  "F" => "5",
55  "S" => "5",
56  "T" => "5",
57  "E" => "6",
58  "L" => "6",
59  "-" => "6");
60 
61 // Special extensions
62 
63 // Each category can specify a PHP function that returns an altered
64 // version of the keyword.
65 
66 
67 
68 $this->linkscripts = array(
69  "6" => "donothing",
70  "1" => "donothing",
71  "2" => "donothing",
72  "3" => "donothing",
73  "5" => "donothing");
74 }
Create styles array
The data for the language used.
Definition: HFile.php:21

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