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

Public Member Functions

 HFile_ldif ()
 
 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_ldif.php.

Member Function Documentation

◆ donothing()

HFile_ldif::donothing (   $keywordin)

Definition at line 135 of file HFile_ldif.php.

136  {
137  return $keywordin;
138  }

◆ HFile_ldif()

HFile_ldif::HFile_ldif ( )

Definition at line 9 of file HFile_ldif.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // LDIF for Netscape Directory Server
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", "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  "aci" => "1",
50  "audio" => "1",
51  "binary" => "1",
52  "businesscategory" => "1",
53  "carlicense" => "1",
54  "changetype" => "1",
55  "cn" => "1",
56  "commonname" => "1",
57  "departmentNumber" => "1",
58  "description" => "1",
59  "dn" => "1",
60  "employeenumber" => "1",
61  "employeeType" => "1",
62  "facsimileTelephoneNumber" => "1",
63  "givenname" => "1",
64  "homePhone" => "1",
65  "homePostalAddress" => "1",
66  "initials" => "1",
67  "internationalIsdnNumber" => "1",
68  "jpegPhoto" => "1",
69  "l" => "1",
70  "labeledURI" => "1",
71  "locality" => "1",
72  "mail" => "1",
73  "mailalternateaddress" => "1",
74  "maildeliveryoption" => "1",
75  "mailhost" => "1",
76  "manager" => "1",
77  "mobile" => "1",
78  "objectclass" => "1",
79  "pager" => "1",
80  "photo" => "1",
81  "postOfficeBox" => "1",
82  "preferredDeliveryMethod" => "1",
83  "preferredLanguage" => "1",
84  "physicaldeliveryofficename" => "1",
85  "postaladdress" => "1",
86  "postalcode" => "1",
87  "registeredAddress" => "1",
88  "roleOccupant" => "1",
89  "roomnumber" => "1",
90  "secretary" => "1",
91  "seeAlso" => "1",
92  "sn" => "1",
93  "st" => "1",
94  "street" => "1",
95  "surname" => "1",
96  "telephonenumber" => "1",
97  "title" => "1",
98  "uid" => "1",
99  "userpassword" => "1",
100  "userCertificate" => "1",
101  "userSMIMECertificate" => "1",
102  "x500UniqueIdentifier" => "1",
103  "add" => "2",
104  "c" => "2",
105  "dc" => "2",
106  "delete" => "2",
107  "modify" => "2",
108  "o" => "2",
109  "ou" => "2",
110  "crypt" => "4",
111  "inetOrgPerson" => "4",
112  "mailRecipient" => "4",
113  "nsLicenseUser" => "4",
114  "organizationalPerson" => "4",
115  "organizationalRole" => "4",
116  "residentialPerson" => "4",
117  "person" => "4",
118  "SHA" => "4",
119  "top" => "4");
120 
121  // Special extensions
122 
123  // Each category can specify a PHP function that returns an altered
124  // version of the keyword.
125 
126 
127 
128  $this->linkscripts = array(
129  "1" => "donothing",
130  "2" => "donothing",
131  "4" => "donothing");
132  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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