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

syntax_highlight/php/HFile/HFile_oemsetup.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_oemsetup extends HFile{
00006    function HFile_oemsetup(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Oemsetup Script
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", "gray", "brown", "blue");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array("ifstr", "ifstr(i)", "ifint", "ifcontains");
00028 $this->unindent                 = array("endif");
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                         "\"ifcontains(i)\"" => "", 
00046                         "addfiletodeletelist" => "1", 
00047                         "closeregkey" => "1", 
00048                         "createregkey" => "1", 
00049                         "debug-output" => "1", 
00050                         "debug_output" => "1", 
00051                         "deleteregkey" => "1", 
00052                         "deleteregtree" => "1", 
00053                         "deleteregvalue" => "1", 
00054                         "else-ifcontains" => "1", 
00055                         "else-ifcontains(i)" => "1", 
00056                         "else-ifint" => "1", 
00057                         "else-ifstr" => "1", 
00058                         "else-ifstr(i)" => "1", 
00059                         "endforlistdo" => "1", 
00060                         "endif" => "1", 
00061                         "endwait" => "1", 
00062                         "enumregkey" => "1", 
00063                         "enumregvalue" => "1", 
00064                         "flushinf" => "1", 
00065                         "flushregkey" => "1", 
00066                         "forlistdo" => "1", 
00067                         "freelibrary" => "1", 
00068                         "getdriveinpath" => "1", 
00069                         "getregvalue" => "1", 
00070                         "getsystemdate" => "1", 
00071                         "goto" => "1", 
00072                         "ifcontains" => "1", 
00073                         "ifcontaints(i)" => "1", 
00074                         "ifint" => "1", 
00075                         "ifstr" => "1", 
00076                         "ifstr(i)" => "1", 
00077                         "libraryprocedure" => "1", 
00078                         "loadlibrary" => "1", 
00079                         "openregkey" => "1", 
00080                         "querylistsize" => "1", 
00081                         "set" => "1", 
00082                         "set-add" => "1", 
00083                         "set-and" => "1", 
00084                         "set-dectohex" => "1", 
00085                         "set-div" => "1", 
00086                         "set-hextodec" => "1", 
00087                         "set-mul" => "1", 
00088                         "set-or" => "1", 
00089                         "set-sub" => "1", 
00090                         "set-subst" => "1", 
00091                         "setregvalue" => "1", 
00092                         "sleep" => "1", 
00093                         "split-string" => "1", 
00094                         "startwait" => "1", 
00095                         "addsectionfilestocopylist" => "2", 
00096                         "addsectionkeyfiletocopylist" => "2", 
00097                         "addnthsectionfiletocopylist" => "2", 
00098                         "copyfilesincopylist" => "2", 
00099                         "clearcopylist" => "2", 
00100                         "createdir" => "2", 
00101                         "detect" => "2", 
00102                         "exit" => "2", 
00103                         "install" => "2", 
00104                         "read-syms" => "2", 
00105                         "removedir" => "2", 
00106                         "return" => "2", 
00107                         "shell" => "2", 
00108                         "[]" => "3", 
00109                         "$)" => "3", 
00110                         "+" => "4", 
00111                         "=" => "4", 
00112                         "//" => "4", 
00113                         "/" => "4", 
00114                         "%" => "4", 
00115                         "&" => "4", 
00116                         ">" => "4", 
00117                         "<" => "4", 
00118                         "^" => "4", 
00119                         "!" => "4", 
00120                         "|" => "4", 
00121                         "NO_ERROR" => "5", 
00122                         "STATUS_SUCCESSFUL" => "5", 
00123                         "STATUS_FAILED" => "5", 
00124                         "STATUS_USERCANCEL" => "5", 
00125                         "STATUS_REBIND" => "5", 
00126                         "STATUS_REBOOT" => "5", 
00127                         "STATUS_NO_EFFECT" => "5");
00128 
00129 // Special extensions
00130 
00131 // Each category can specify a PHP function that returns an altered
00132 // version of the keyword.
00133         
00134         
00135 
00136 $this->linkscripts      = array(
00137                         "" => "donothing", 
00138                         "1" => "donothing", 
00139                         "2" => "donothing", 
00140                         "3" => "donothing", 
00141                         "4" => "donothing", 
00142                         "5" => "donothing");
00143 }
00144 
00145 
00146 function donothing($keywordin)
00147 {
00148         return $keywordin;
00149 }
00150 
00151 }?>

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