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_schema extends HFile{
00006 function HFile_schema(){
00007 $this->HFile();
00008
00009
00010
00011
00012
00013
00014 $this->nocase = "0";
00015 $this->notrim = "0";
00016 $this->perl = "0";
00017
00018
00019
00020 $this->colours = array("blue", "purple");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array();
00028 $this->unindent = array();
00029
00030
00031
00032 $this->stringchars = array("\"");
00033 $this->delimiters = array("(", ")", "\"", ",", " ", ".", "?", "=", ";");
00034 $this->escchar = "";
00035
00036
00037
00038 $this->linecommenton = array("");
00039 $this->blockcommenton = array("/*");
00040 $this->blockcommentoff = array("*/");
00041
00042
00043
00044 $this->keywords = array(
00045 "ALIAS" => "1",
00046 "ALLOW_NULL" => "1",
00047 "ARRAY_SIZE" => "1",
00048 "CHANGE_DATE" => "1",
00049 "CMN_DATA_TYPE" => "1",
00050 "COMMENT" => "1",
00051 "DB_DATA_TYPE" => "1",
00052 "DEFAULT" => "1",
00053 "FIELDS" => "1",
00054 "FIELDS_END" => "1",
00055 "FROM" => "1",
00056 "GEN_FIELD_ID" => "1",
00057 "INDEXES" => "1",
00058 "INDEXES_END" => "1",
00059 "INV_REL" => "1",
00060 "JOINS" => "1",
00061 "JOINS_END" => "1",
00062 "LOCAL_SCHEMA_REVISION" => "1",
00063 "MANDATORY" => "1",
00064 "MTM" => "1",
00065 "MTO" => "1",
00066 "OBJECT" => "1",
00067 "OBJECT_END" => "1",
00068 "OPTIONAL" => "1",
00069 "OTM" => "1",
00070 "OTOF" => "1",
00071 "OTOP" => "1",
00072 "OUTER" => "1",
00073 "PREDEFINED" => "1",
00074 "RELATIONS" => "1",
00075 "RELATIONS_END" => "1",
00076 "SCHEMA_REVISION" => "1",
00077 "SEARCHABLE" => "1",
00078 "SUBJECT" => "1",
00079 "UNIQUE" => "1",
00080 "USER_DEFINED" => "1",
00081 "VIEW" => "1",
00082 "VIEW_END" => "1",
00083 "," => "2",
00084 ";" => "2",
00085 "=" => "2");
00086
00087
00088
00089
00090
00091
00092
00093
00094 $this->linkscripts = array(
00095 "1" => "donothing",
00096 "2" => "donothing");
00097 }
00098
00099
00100 function donothing($keywordin)
00101 {
00102 return $keywordin;
00103 }
00104
00105 }?>