ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_ldap.php
Go to the documentation of this file.
1<?php
2$BEAUT_PATH = realpath(".") . "/Services/COPage/syntax_highlight/php";
3if (!isset($BEAUT_PATH)) {
4 return;
5}
6require_once("$BEAUT_PATH/Beautifier/HFile.php");
7 class HFile_ldap extends HFile
8 {
9 public function HFile_ldap()
10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // LDAP
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 "accountUnlockTime" => "1",
50 "administratorContactInfo" => "1",
51 "adminUrl" => "1",
52 "audio" => "1",
53 "binary" => "1",
54 "businesscategory" => "1",
55 "carlicense" => "1",
56 "changeLogMaximumAge" => "1",
57 "changeLogMaximumSize" => "1",
58 "changeNumber" => "1",
59 "changes" => "1",
60 "changeTime" => "1",
61 "changetype" => "1",
62 "cirBeginORC" => "1",
63 "cirBindCredentials" => "1",
64 "cirBindDn" => "1",
65 "cirHost" => "1",
66 "cirLastUpdateApplied" => "1",
67 "cirPort" => "1",
68 "cirReplicaRoot" => "1",
69 "cirSyncInterval" => "1",
70 "cirUpdateFailedat" => "1",
71 "cirUpdateSchedule" => "1",
72 "cirUsePersistentSearch" => "1",
73 "cirUseSsl" => "1",
74 "cn" => "1",
75 "commonname" => "1",
76 "deleteOldRdn" => "1",
77 "departmentNumber" => "1",
78 "description" => "1",
79 "destinationIndicator" => "1",
80 "dn" => "1",
81 "employeenumber" => "1",
82 "employeeType" => "1",
83 "facsimileTelephoneNumber" => "1",
84 "filterInfo" => "1",
85 "generation" => "1",
86 "givenname" => "1",
87 "homePhone" => "1",
88 "homePostalAddress" => "1",
89 "idxno" => "1",
90 "indexnumber" => "1",
91 "initials" => "1",
92 "installationTimeStamp" => "1",
93 "internationalIsdnNumber" => "1",
94 "jpegPhoto" => "1",
95 "l" => "1",
96 "labeledURI" => "1",
97 "locality" => "1",
98 "mail" => "1",
99 "mailAccessDomain" => "1",
100 "mailalternateaddress" => "1",
101 "mailAutoReplyMode" => "1",
102 "mailAutoReplyText" => "1",
103 "maildeliveryoption" => "1",
104 "mailEnhancedUniqueMember" => "1",
105 "mailForwardingAddress" => "1",
106 "mailhost" => "1",
107 "mailMessageStore" => "1",
108 "mailProgramDeliveryInfo" => "1",
109 "mailQuota" => "1",
110 "manager" => "1",
111 "member" => "1",
112 "memberCertificateDescription" => "1",
113 "memberURL" => "1",
114 "mgrpAllowedBroadcaster" => "1",
115 "mgrpAllowedDomain" => "1",
116 "mgrpDeliverTo" => "1",
117 "mgrpErrorsTo" => "1",
118 "mgrpModerator" => "1",
119 "mgrpMsgMaxSize" => "1",
120 "mgrpMsgRejectAction" => "1",
121 "mgrpMsgRejectText" => "1",
122 "mgrpRFC822MailMember" => "1",
123 "mobile" => "1",
124 "multiLineDescription" => "1",
125 "newRdn" => "1",
126 "newSuperior" => "1",
127 "nsLicensedFor" => "1",
128 "nsLicenseEndTime" => "1",
129 "nsLicenseStartTime" => "1",
130 "ntGroupAttributes" => "1",
131 "ntGroupCreateNewGroup" => "1",
132 "ntGroupDeleteGroup" => "1",
133 "ntGroupDomainId" => "1",
134 "ntGroupId" => "1",
135 "ntUserDomainId" => "1",
136 "ntUserAcctExpires" => "1",
137 "ntUserAuthFlags" => "1",
138 "ntUserBadPwCount" => "1",
139 "ntUserCodePage" => "1",
140 "ntUserComment" => "1",
141 "ntUserCountryCode" => "1",
142 "ntUserCreateNewAccount" => "1",
143 "ntUserDeleteAccount" => "1",
144 "ntUserFlags" => "1",
145 "ntUserHomeDir" => "1",
146 "ntUserHomeDirDrive" => "1",
147 "ntUserLastLogoff" => "1",
148 "ntUserLastLogon" => "1",
149 "ntUserLogonHours" => "1",
150 "ntUserLogonServer" => "1",
151 "ntUserMaxStorage" => "1",
152 "ntUserNumLogons" => "1",
153 "ntUserParms" => "1",
154 "ntUserPasswordExpired" => "1",
155 "ntUserPrimaryGroupId" => "1",
156 "ntUserPriv" => "1",
157 "ntUserProfile" => "1",
158 "ntUserScriptPath" => "1",
159 "ntUserUniqueId" => "1",
160 "ntUserUnitsPerWeek" => "1",
161 "ntUserUsrComment" => "1",
162 "ntUserWorkstations" => "1",
163 "objectclass" => "1",
164 "owner" => "1",
165 "pager" => "1",
166 "passwordChange" => "1",
167 "passwordCheckSyntax" => "1",
168 "passwordExp" => "1",
169 "passwordExpirationTime" => "1",
170 "passwordExpWarned" => "1",
171 "passwordHistory" => "1",
172 "passwordInHistory" => "1",
173 "passwordKeepHistory" => "1",
174 "passwordLockout" => "1",
175 "passwordLockoutDuration" => "1",
176 "passwordMaxAge" => "1",
177 "passwordMaxFailure" => "1",
178 "passwordMinLength" => "1",
179 "passwordResetDuration" => "1",
180 "passwordRetryCount" => "1",
181 "passwordUnlock" => "1",
182 "passwordWarning" => "1",
183 "photo" => "1",
184 "physicaldeliveryofficename" => "1",
185 "postaladdress" => "1",
186 "postalcode" => "1",
187 "postOfficeBox" => "1",
188 "preferredDeliveryMethod" => "1",
189 "preferredLanguage" => "1",
190 "ref" => "1",
191 "registeredAddress" => "1",
192 "replicaBeginOrc" => "1",
193 "replicaBindDn" => "1",
194 "replicaBindMethod" => "1",
195 "replicaCredentials" => "1",
196 "replicaEntryFilter" => "1",
197 "replicaHost" => "1",
198 "replicaNickName" => "1",
199 "replicaPort" => "1",
200 "replicaRoot" => "1",
201 "replicatedAttributeList" => "1",
202 "replicaUpdateFailedAt" => "1",
203 "replicaUpdateReplayed" => "1",
204 "replicaUpdateSchedule" => "1",
205 "replicaUseSSL" => "1",
206 "retryCountResetTime" => "1",
207 "roleOccupant" => "1",
208 "roomnumber" => "1",
209 "searchGuide" => "1",
210 "secretary" => "1",
211 "seeAlso" => "1",
212 "serverHostName" => "1",
213 "serverProductName" => "1",
214 "serverRoot" => "1",
215 "serverVersionNumber" => "1",
216 "sn" => "1",
217 "st" => "1",
218 "stateOrProvinceName" => "1",
219 "street" => "1",
220 "surname" => "1",
221 "targetDn" => "1",
222 "telephonenumber" => "1",
223 "teletexTerminalIdentifier" => "1",
224 "telexNumber" => "1",
225 "title" => "1",
226 "uid" => "1",
227 "uniqueMember" => "1",
228 "userpassword" => "1",
229 "userCertificate" => "1",
230 "userCertificate;binary" => "1",
231 "userSMIMECertificate" => "1",
232 "userSMIMECertificate;binary" => "1",
233 "x121Address" => "1",
234 "x500UniqueIdentifier" => "1",
235 "aci" => "2",
236 "add" => "2",
237 "c" => "2",
238 "dc" => "2",
239 "delete" => "2",
240 "ftp" => "2",
241 "ftps" => "2",
242 "http" => "2",
243 "https" => "2",
244 "ldap" => "2",
245 "ldaps" => "2",
246 "modify" => "2",
247 "nntp" => "2",
248 "nntps" => "2",
249 "o" => "2",
250 "ou" => "2",
251 "URL" => "2",
252 "changeLogEntry" => "4",
253 "cirReplicaSource" => "4",
254 "crypt" => "4",
255 "dcObject" => "4",
256 "epsbranch" => "4",
257 "groupOfCertificates" => "4",
258 "groupOfMailEnhancedUniqueNames" => "4",
259 "groupOfNames" => "4",
260 "groupOfUniqueNames" => "4",
261 "httpd" => "4",
262 "inetOrgPerson" => "4",
263 "LDAPReplica" => "4",
264 "LDAPServer" => "4",
265 "mailGroup" => "4",
266 "mailRecipient" => "4",
267 "netscapeServer" => "4",
268 "nsLicenseUser" => "4",
269 "ntGroup" => "4",
270 "ntUser" => "4",
271 "organization" => "4",
272 "organizationalPerson" => "4",
273 "organizationalRole" => "4",
274 "organizationalUnit" => "4",
275 "passwordObject" => "4",
276 "passwordPolicy" => "4",
277 "person" => "4",
278 "referral" => "4",
279 "residentialPerson" => "4",
280 "SHA" => "4",
281 "slapd" => "4",
282 "top" => "4");
283
284 // Special extensions
285
286 // Each category can specify a PHP function that returns an altered
287 // version of the keyword.
288
289
290
291 $this->linkscripts = array(
292 "1" => "donothing",
293 "2" => "donothing",
294 "4" => "donothing");
295 }
296
297
298 public function donothing($keywordin)
299 {
300 return $keywordin;
301 }
302 }
$BEAUT_PATH
Definition: HFile_ldap.php:2
An exception for terminatinating execution or to throw for unit testing.
donothing($keywordin)
Definition: HFile_ldap.php:298