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

syntax_highlight/php/HFile/HFile_VerityTopics.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_VerityTopics extends HFile{
00006    function HFile_VerityTopics(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Verity Topic File
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");
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                         "<ACCRUE>" => "1", 
00046                         "<ALL>" => "1", 
00047                         "<AND>" => "1", 
00048                         "<ANY>" => "1", 
00049                         "<CONTAINS>" => "1", 
00050                         "<ENDS>" => "1", 
00051                         "<FILTER>" => "1", 
00052                         "<FULLTEXT>" => "1", 
00053                         "<IN>" => "1", 
00054                         "<MATCHES>" => "1", 
00055                         "<NEAR>" => "1", 
00056                         "<OR>" => "1", 
00057                         "<PARAGRAPH>" => "1", 
00058                         "<PHRASE>" => "1", 
00059                         "<PRODUCT>" => "1", 
00060                         "<SENTENCE>" => "1", 
00061                         "<SOUNDEX>" => "1", 
00062                         "<STARTS>" => "1", 
00063                         "<STEM>" => "1", 
00064                         "<SUBSTRING>" => "1", 
00065                         "<THESAURUS>" => "1", 
00066                         "<WHERE>" => "1", 
00067                         "<WILDCARD>" => "1", 
00068                         "<WORD>" => "1", 
00069                         "<YESNO>" => "1", 
00070                         "<CASE>" => "2", 
00071                         "<MANY>" => "2", 
00072                         "<NOT>" => "2", 
00073                         "<ORDER>" => "2", 
00074                         "*" => "3", 
00075                         "?" => "3", 
00076                         "definition" => "4", 
00077                         "wordtext" => "4", 
00078                         "zonespec" => "4");
00079 
00080 // Special extensions
00081 
00082 // Each category can specify a PHP function that returns an altered
00083 // version of the keyword.
00084         
00085         
00086 
00087 $this->linkscripts      = array(
00088                         "1" => "donothing", 
00089                         "2" => "donothing", 
00090                         "3" => "donothing", 
00091                         "4" => "donothing");
00092 }
00093 
00094 
00095 function donothing($keywordin)
00096 {
00097         return $keywordin;
00098 }
00099 
00100 }?>

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