• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

syntax_highlight/php/HFile/HFile_ldif.php

Go to the documentation of this file.
00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005   class HFile_ldif extends HFile{
00006    function HFile_ldif(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // LDIF for Netscape Directory Server
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "1";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "purple", "brown");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array();
00028 $this->unindent                 = array();
00029 
00030 // String characters and delimiters
00031 
00032 $this->stringchars              = array();
00033 $this->delimiters               = array("\"", ",", ".", ":", ";", "{", " ", "}", "=", "\"");
00034 $this->escchar                  = "";
00035 
00036 // Comment settings
00037 
00038 $this->linecommenton            = array("");
00039 $this->blockcommenton           = array("");
00040 $this->blockcommentoff          = array("");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "aci" => "1", 
00046                         "audio" => "1", 
00047                         "binary" => "1", 
00048                         "businesscategory" => "1", 
00049                         "carlicense" => "1", 
00050                         "changetype" => "1", 
00051                         "cn" => "1", 
00052                         "commonname" => "1", 
00053                         "departmentNumber" => "1", 
00054                         "description" => "1", 
00055                         "dn" => "1", 
00056                         "employeenumber" => "1", 
00057                         "employeeType" => "1", 
00058                         "facsimileTelephoneNumber" => "1", 
00059                         "givenname" => "1", 
00060                         "homePhone" => "1", 
00061                         "homePostalAddress" => "1", 
00062                         "initials" => "1", 
00063                         "internationalIsdnNumber" => "1", 
00064                         "jpegPhoto" => "1", 
00065                         "l" => "1", 
00066                         "labeledURI" => "1", 
00067                         "locality" => "1", 
00068                         "mail" => "1", 
00069                         "mailalternateaddress" => "1", 
00070                         "maildeliveryoption" => "1", 
00071                         "mailhost" => "1", 
00072                         "manager" => "1", 
00073                         "mobile" => "1", 
00074                         "objectclass" => "1", 
00075                         "pager" => "1", 
00076                         "photo" => "1", 
00077                         "postOfficeBox" => "1", 
00078                         "preferredDeliveryMethod" => "1", 
00079                         "preferredLanguage" => "1", 
00080                         "physicaldeliveryofficename" => "1", 
00081                         "postaladdress" => "1", 
00082                         "postalcode" => "1", 
00083                         "registeredAddress" => "1", 
00084                         "roleOccupant" => "1", 
00085                         "roomnumber" => "1", 
00086                         "secretary" => "1", 
00087                         "seeAlso" => "1", 
00088                         "sn" => "1", 
00089                         "st" => "1", 
00090                         "street" => "1", 
00091                         "surname" => "1", 
00092                         "telephonenumber" => "1", 
00093                         "title" => "1", 
00094                         "uid" => "1", 
00095                         "userpassword" => "1", 
00096                         "userCertificate" => "1", 
00097                         "userSMIMECertificate" => "1", 
00098                         "x500UniqueIdentifier" => "1", 
00099                         "add" => "2", 
00100                         "c" => "2", 
00101                         "dc" => "2", 
00102                         "delete" => "2", 
00103                         "modify" => "2", 
00104                         "o" => "2", 
00105                         "ou" => "2", 
00106                         "crypt" => "4", 
00107                         "inetOrgPerson" => "4", 
00108                         "mailRecipient" => "4", 
00109                         "nsLicenseUser" => "4", 
00110                         "organizationalPerson" => "4", 
00111                         "organizationalRole" => "4", 
00112                         "residentialPerson" => "4", 
00113                         "person" => "4", 
00114                         "SHA" => "4", 
00115                         "top" => "4");
00116 
00117 // Special extensions
00118 
00119 // Each category can specify a PHP function that returns an altered
00120 // version of the keyword.
00121         
00122         
00123 
00124 $this->linkscripts      = array(
00125                         "1" => "donothing", 
00126                         "2" => "donothing", 
00127                         "4" => "donothing");
00128 }
00129 
00130 
00131 function donothing($keywordin)
00132 {
00133         return $keywordin;
00134 }
00135 
00136 }?>

Generated on Fri Dec 13 2013 09:06:39 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1