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

syntax_highlight/php/HFile/HFile_config.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_config extends HFile{
00006    function HFile_config(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Config Files
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "0";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue");
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                         "AGENCY" => "1", 
00046                         "API_USERS" => "1", 
00047                         "ABSFONT" => "1", 
00048                         "ALERT" => "1", 
00049                         "BUSINESS" => "1", 
00050                         "CLIENT_USERS" => "1", 
00051                         "CODEPAGE" => "1", 
00052                         "DEBUG" => "1", 
00053                         "DISABLE_TOOLBAR" => "1", 
00054                         "EXECUTE" => "1", 
00055                         "EIS" => "1", 
00056                         "FILE" => "1", 
00057                         "FILECODEPAGE" => "1", 
00058                         "HOST" => "1", 
00059                         "JOB" => "1", 
00060                         "LOG_FILE" => "1", 
00061                         "LP" => "1", 
00062                         "LPPATH" => "1", 
00063                         "LOCAL" => "1", 
00064                         "LOADPAGEMSG" => "1", 
00065                         "MEMORY" => "1", 
00066                         "NT95INTERFACE" => "1", 
00067                         "ROUTE_FILE" => "1", 
00068                         "SERVER" => "1", 
00069                         "STORE" => "1", 
00070                         "SQL" => "1", 
00071                         "SPX" => "1", 
00072                         "SQLCODEPAGE" => "1", 
00073                         "SCENARIO_SIZE" => "1", 
00074                         "SPLASH" => "1", 
00075                         "TIMEOUT" => "1", 
00076                         "THREADS" => "1", 
00077                         "TCP" => "1", 
00078                         "TCPX" => "1", 
00079                         "WORKERS" => "1", 
00080                         "WEBSERVER" => "1", 
00081                         "WEBPORT" => "1", 
00082                         "WEBTIMEOUT" => "1", 
00083                         "WEBCGI" => "1", 
00084                         "WEBCLASSES" => "1", 
00085                         "WEBICONS" => "1", 
00086                         "WEB_USERS" => "1", 
00087                         "WEBCODEPAGE" => "1", 
00088                         "WEBSSL" => "1", 
00089                         "sqlentry" => "1", 
00090                         "sqlodbc" => "1");
00091 
00092 // Special extensions
00093 
00094 // Each category can specify a PHP function that returns an altered
00095 // version of the keyword.
00096         
00097         
00098 
00099 $this->linkscripts      = array(
00100                         "1" => "donothing");
00101 }
00102 
00103 
00104 function donothing($keywordin)
00105 {
00106         return $keywordin;
00107 }
00108 
00109 }?>

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