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

syntax_highlight/php/HFile/HFile_flagship.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_flagship extends HFile{
00006    function HFile_flagship(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // FlagShip/Clipper
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", "brown", "gray", "purple", "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                         "accept" => "1", 
00046                         "access" => "1", 
00047                         "all" => "1", 
00048                         "alternate" => "1", 
00049                         "announce" => "1", 
00050                         "append" => "1", 
00051                         "as" => "1", 
00052                         "assign" => "1", 
00053                         "autolock" => "1", 
00054                         "average" => "1", 
00055                         "begin" => "1", 
00056                         "bell" => "1", 
00057                         "blank" => "1", 
00058                         "box" => "1", 
00059                         "break" => "4", 
00060                         "call" => "1", 
00061                         "cancel" => "1", 
00062                         "case" => "1", 
00063                         "century" => "1", 
00064                         "class" => "1", 
00065                         "clear" => "1", 
00066                         "close" => "1", 
00067                         "cls" => "1", 
00068                         "color" => "1", 
00069                         "commit" => "1", 
00070                         "confirm" => "1", 
00071                         "console" => "1", 
00072                         "continue" => "1", 
00073                         "copy" => "1", 
00074                         "count" => "1", 
00075                         "create" => "1", 
00076                         "cursor" => "1", 
00077                         "do" => "1", 
00078                         "decimals" => "1", 
00079                         "declare" => "1", 
00080                         "default" => "1", 
00081                         "delete" => "1", 
00082                         "deleted" => "3", 
00083                         "delimiters" => "1", 
00084                         "device" => "1", 
00085                         "dir" => "1", 
00086                         "directory" => "3", 
00087                         "display" => "1", 
00088                         "elseif" => "1", 
00089                         "endif" => "1", 
00090                         "enddo" => "1", 
00091                         "else" => "1", 
00092                         "eject" => "1", 
00093                         "end" => "1", 
00094                         "epoch" => "1", 
00095                         "erase" => "1", 
00096                         "escape" => "1", 
00097                         "eval" => "3", 
00098                         "exact" => "1", 
00099                         "exclusive" => "1", 
00100                         "exit" => "1", 
00101                         "export" => "1", 
00102                         "extern" => "1", 
00103                         "external" => "1", 
00104                         "field" => "3", 
00105                         "filter" => "1", 
00106                         "find" => "1", 
00107                         "fixed" => "1", 
00108                         "for" => "1", 
00109                         "form" => "1", 
00110                         "format" => "1", 
00111                         "from" => "1", 
00112                         "function" => "1", 
00113                         "get" => "1", 
00114                         "gets" => "1", 
00115                         "global" => "1", 
00116                         "go" => "1", 
00117                         "goto" => "1", 
00118                         "hidden" => "1", 
00119                         "if" => "1", 
00120                         "index" => "1", 
00121                         "init" => "1", 
00122                         "input" => "1", 
00123                         "instance" => "1", 
00124                         "intensity" => "1", 
00125                         "join" => "1", 
00126                         "key" => "1", 
00127                         "keyboard" => "1", 
00128                         "label" => "1", 
00129                         "list" => "1", 
00130                         "local" => "1", 
00131                         "locate" => "1", 
00132                         "loop" => "1", 
00133                         "margin" => "1", 
00134                         "memory" => "3", 
00135                         "memvar" => "1", 
00136                         "menu" => "1", 
00137                         "message" => "1", 
00138                         "method" => "1", 
00139                         "multilocks" => "1", 
00140                         "next" => "1", 
00141                         "note" => "1", 
00142                         "order" => "1", 
00143                         "otherwise" => "1", 
00144                         "pack" => "1", 
00145                         "parameters" => "1", 
00146                         "path" => "1", 
00147                         "printer" => "1", 
00148                         "private" => "1", 
00149                         "procedure" => "1", 
00150                         "prompt" => "1", 
00151                         "protect" => "1", 
00152                         "prototype" => "1", 
00153                         "public" => "1", 
00154                         "quit" => "1", 
00155                         "read" => "1", 
00156                         "recall" => "1", 
00157                         "recover" => "1", 
00158                         "refresh" => "1", 
00159                         "reindex" => "1", 
00160                         "relation" => "1", 
00161                         "release" => "1", 
00162                         "rename" => "1", 
00163                         "replace" => "1", 
00164                         "report" => "1", 
00165                         "request" => "1", 
00166                         "restore" => "1", 
00167                         "return" => "1", 
00168                         "run" => "1", 
00169                         "save" => "1", 
00170                         "say" => "1", 
00171                         "scoreboard" => "1", 
00172                         "screen" => "1", 
00173                         "seek" => "1", 
00174                         "select" => "3", 
00175                         "sequence" => "1", 
00176                         "set" => "3", 
00177                         "setenhanced" => "1", 
00178                         "setstandard" => "1", 
00179                         "setunselect" => "1", 
00180                         "shared" => "1", 
00181                         "skip" => "1", 
00182                         "softseek" => "1", 
00183                         "sort" => "1", 
00184                         "static" => "1", 
00185                         "store" => "1", 
00186                         "structure" => "1", 
00187                         "sum" => "1", 
00188                         "text" => "1", 
00189                         "to" => "1", 
00190                         "total" => "1", 
00191                         "type" => "3", 
00192                         "typeahead" => "1", 
00193                         "unique" => "1", 
00194                         "unlock" => "1", 
00195                         "update" => "1", 
00196                         "use" => "1", 
00197                         "wait" => "1", 
00198                         "while" => "1", 
00199                         "with" => "1", 
00200                         "wrap" => "1", 
00201                         "zap" => "1", 
00202                         "?" => "2", 
00203                         "??" => "2", 
00204                         "@" => "2", 
00205                         "!" => "2", 
00206                         "%" => "2", 
00207                         "&" => "2", 
00208                         "(" => "2", 
00209                         ")" => "2", 
00210                         "*" => "2", 
00211                         "+" => "2", 
00212                         "," => "2", 
00213                         "-" => "2", 
00214                         ":" => "2", 
00215                         ";" => "2", 
00216                         "<" => "2", 
00217                         "=" => "2", 
00218                         ">" => "2", 
00219                         "[" => "2", 
00220                         "\\" => "2", 
00221                         "]" => "2", 
00222                         "^" => "2", 
00223                         "{" => "2", 
00224                         "|" => "2", 
00225                         "}" => "2", 
00226                         "~" => "2", 
00227                         "__accept" => "3", 
00228                         "__dbpack" => "3", 
00229                         "__dbzap" => "3", 
00230                         "__eject" => "3", 
00231                         "__keyboard" => "3", 
00232                         "__killread" => "3", 
00233                         "__mclear" => "3", 
00234                         "__menuto" => "3", 
00235                         "__quit" => "3", 
00236                         "__setcentury" => "3", 
00237                         "__setformat" => "3", 
00238                         "__setfunction" => "3", 
00239                         "__wait" => "3", 
00240                         "__xrestscreen" => "3", 
00241                         "__xsavescreen" => "3", 
00242                         "_fsget_" => "3", 
00243                         "aadd" => "3", 
00244                         "abs" => "3", 
00245                         "achoice" => "3", 
00246                         "aclone" => "3", 
00247                         "acopy" => "3", 
00248                         "adel" => "3", 
00249                         "adir" => "3", 
00250                         "aeval" => "3", 
00251                         "afields" => "3", 
00252                         "afill" => "3", 
00253                         "ains" => "3", 
00254                         "alert" => "3", 
00255                         "alias" => "3", 
00256                         "alltrim" => "3", 
00257                         "altd" => "3", 
00258                         "array" => "3", 
00259                         "asc" => "3", 
00260                         "ascan" => "3", 
00261                         "asize" => "3", 
00262                         "asort" => "3", 
00263                         "at" => "3", 
00264                         "atail" => "3", 
00265                         "autoflock" => "3", 
00266                         "autorlock" => "3", 
00267                         "autounlock" => "3", 
00268                         "bin2i" => "3", 
00269                         "bin2l" => "3", 
00270                         "bin2w" => "3", 
00271                         "bof" => "3", 
00272                         "browse" => "3", 
00273                         "cdow" => "3", 
00274                         "chr" => "3", 
00275                         "chr2screen" => "3", 
00276                         "cmonth" => "3", 
00277                         "col" => "3", 
00278                         "ctod" => "3", 
00279                         "curdir" => "3", 
00280                         "date" => "3", 
00281                         "day" => "3", 
00282                         "dbappend" => "3", 
00283                         "dbclearfil" => "3", 
00284                         "dbclearind" => "3", 
00285                         "dbclearrel" => "3", 
00286                         "dbcloseall" => "3", 
00287                         "dbclosearea" => "3", 
00288                         "dbcommit" => "3", 
00289                         "dbcommitall" => "3", 
00290                         "dbcreate" => "3", 
00291                         "dbcreateind" => "3", 
00292                         "dbdelete" => "3", 
00293                         "dbedit" => "3", 
00294                         "dbeval" => "3", 
00295                         "dbf" => "3", 
00296                         "dbfilter" => "3", 
00297                         "dbgetlocat" => "3", 
00298                         "dbgobottom" => "3", 
00299                         "dbgoto" => "3", 
00300                         "dbgotop" => "3", 
00301                         "dbobjec" => "3", 
00302                         "dbrecall" => "3", 
00303                         "dbreindex" => "3", 
00304                         "dbrelation" => "3", 
00305                         "dbrlocklis" => "3", 
00306                         "dbrselect" => "3", 
00307                         "dbrunloc" => "3", 
00308                         "dbseek" => "3", 
00309                         "dbselectar" => "3", 
00310                         "dbsetdriver" => "3", 
00311                         "dbsetfilter" => "3", 
00312                         "dbsetindex" => "3", 
00313                         "dbsetlocat" => "3", 
00314                         "dbsetorder" => "3", 
00315                         "dbsetrelat" => "3", 
00316                         "dbskip" => "3", 
00317                         "dbstruct" => "3", 
00318                         "dbunlock" => "3", 
00319                         "dbunlockall" => "3", 
00320                         "dbusearea" => "3", 
00321                         "descend" => "3", 
00322                         "devout" => "3", 
00323                         "devoutpict" => "3", 
00324                         "devpos" => "3", 
00325                         "diskspace" => "3", 
00326                         "dispbegin" => "3", 
00327                         "dispbox" => "3", 
00328                         "dispcount" => "3", 
00329                         "dispend" => "3", 
00330                         "dispout" => "3", 
00331                         "doserror" => "3", 
00332                         "dow" => "3", 
00333                         "dtoc" => "3", 
00334                         "dtos" => "3", 
00335                         "empty" => "3", 
00336                         "eof" => "3", 
00337                         "errorblock" => "3", 
00338                         "errorlevel" => "3", 
00339                         "execname" => "3", 
00340                         "execpidnum" => "3", 
00341                         "exp" => "3", 
00342                         "fattrib" => "3", 
00343                         "fclose" => "3", 
00344                         "fcount" => "3", 
00345                         "fcreate" => "3", 
00346                         "ferase" => "3", 
00347                         "ferror" => "3", 
00348                         "fieldblock" => "3", 
00349                         "fielddeci" => "3", 
00350                         "fieldget" => "3", 
00351                         "fieldgetarr" => "3", 
00352                         "fieldlen" => "3", 
00353                         "fieldname" => "3", 
00354                         "fieldpos" => "3", 
00355                         "fieldput" => "3", 
00356                         "fieldputarr" => "3", 
00357                         "fieldtype" => "3", 
00358                         "fieldwblock" => "3", 
00359                         "file" => "3", 
00360                         "fklabel" => "3", 
00361                         "fkmax" => "3", 
00362                         "flock" => "3", 
00363                         "flockf" => "3", 
00364                         "fopen" => "3", 
00365                         "found" => "3", 
00366                         "fread" => "3", 
00367                         "freadstr" => "3", 
00368                         "freadtxt" => "3", 
00369                         "frename" => "3", 
00370                         "fs_set" => "3", 
00371                         "fseek" => "3", 
00372                         "fwrite" => "3", 
00373                         "getactive" => "3", 
00374                         "getapplyke" => "3", 
00375                         "getdosetke" => "3", 
00376                         "getenv" => "3", 
00377                         "getpostval" => "3", 
00378                         "getprevali" => "3", 
00379                         "getreader" => "3", 
00380                         "hardcr" => "3", 
00381                         "header" => "3", 
00382                         "i2bin" => "3", 
00383                         "iif" => "3", 
00384                         "indexcheck" => "3", 
00385                         "indexcount" => "3", 
00386                         "indexdbf" => "3", 
00387                         "indexext" => "3", 
00388                         "indexkey" => "3", 
00389                         "indexnames" => "3", 
00390                         "indexord" => "3", 
00391                         "inkey" => "3", 
00392                         "int" => "3", 
00393                         "isalpha" => "3", 
00394                         "isbegseq" => "3", 
00395                         "iscolor" => "3", 
00396                         "isdbexcl" => "3", 
00397                         "isdbflock" => "3", 
00398                         "isdbrlock" => "3", 
00399                         "isdigit" => "3", 
00400                         "isfunction" => "3", 
00401                         "islower" => "3", 
00402                         "isobjclass" => "3", 
00403                         "isobjproper" => "3", 
00404                         "isprinter" => "3", 
00405                         "isupper" => "3", 
00406                         "l2bin" => "3", 
00407                         "lastkey" => "3", 
00408                         "lastrec" => "3", 
00409                         "left" => "3", 
00410                         "len" => "3", 
00411                         "lock" => "3", 
00412                         "log" => "3", 
00413                         "lower" => "4", 
00414                         "ltrim" => "3", 
00415                         "lupdate" => "3", 
00416                         "max" => "3", 
00417                         "max_col" => "3", 
00418                         "max_row" => "3", 
00419                         "maxcol" => "3", 
00420                         "maxrow" => "3", 
00421                         "memoedit" => "3", 
00422                         "memoline" => "3", 
00423                         "memoread" => "3", 
00424                         "memotran" => "3", 
00425                         "memowrit" => "3", 
00426                         "memvarblock" => "3", 
00427                         "min" => "3", 
00428                         "mlcount" => "3", 
00429                         "mlctopos" => "3", 
00430                         "mlpos" => "3", 
00431                         "mod" => "3", 
00432                         "month" => "3", 
00433                         "mpostolc" => "3", 
00434                         "neterr" => "3", 
00435                         "netname" => "3", 
00436                         "nextkey" => "3", 
00437                         "nosnow" => "3", 
00438                         "num2int" => "3", 
00439                         "os" => "3", 
00440                         "outerr" => "3", 
00441                         "outstd" => "3", 
00442                         "padc" => "3", 
00443                         "padl" => "3", 
00444                         "padr" => "3", 
00445                         "pcalls" => "3", 
00446                         "pcol" => "3", 
00447                         "pcount" => "3", 
00448                         "procfile" => "3", 
00449                         "procline" => "3", 
00450                         "procname" => "3", 
00451                         "prow" => "3", 
00452                         "qout" => "3", 
00453                         "qqout" => "3", 
00454                         "rangecheck" => "3", 
00455                         "rat" => "3", 
00456                         "rddlist" => "3", 
00457                         "rddsetdefa" => "3", 
00458                         "readexit" => "3", 
00459                         "readinsert" => "3", 
00460                         "readkey" => "3", 
00461                         "readmodal" => "3", 
00462                         "readvar" => "3", 
00463                         "reccount" => "3", 
00464                         "recno" => "3", 
00465                         "recsize" => "3", 
00466                         "replicate" => "3", 
00467                         "restscreen" => "3", 
00468                         "right" => "3", 
00469                         "rlock" => "3", 
00470                         "round" => "3", 
00471                         "row" => "3", 
00472                         "rtrim" => "3", 
00473                         "savescreen" => "3", 
00474                         "scrdos2unix" => "3", 
00475                         "screen2chr" => "3", 
00476                         "scroll" => "3", 
00477                         "scrunix2dos" => "3", 
00478                         "seconds" => "3", 
00479                         "secondscpu" => "3", 
00480                         "setblink" => "3", 
00481                         "setcancel" => "3", 
00482                         "setcol2get" => "3", 
00483                         "setcolor" => "3", 
00484                         "setcursor" => "3", 
00485                         "setkey" => "3", 
00486                         "setmode" => "3", 
00487                         "setpos" => "3", 
00488                         "setprc" => "3", 
00489                         "soundex" => "3", 
00490                         "space" => "3", 
00491                         "sqrt" => "3", 
00492                         "str" => "3", 
00493                         "strpeek" => "3", 
00494                         "strpoke" => "3", 
00495                         "strtran" => "3", 
00496                         "strzero" => "3", 
00497                         "stuff" => "3", 
00498                         "substr" => "3", 
00499                         "tempfilenam" => "3", 
00500                         "time" => "3", 
00501                         "tone" => "3", 
00502                         "transform" => "3", 
00503                         "trim" => "3", 
00504                         "truepath" => "3", 
00505                         "updated" => "3", 
00506                         "upper" => "4", 
00507                         "used" => "3", 
00508                         "usersactiv" => "3", 
00509                         "usersdbf" => "3", 
00510                         "usersmax" => "3", 
00511                         "val" => "3", 
00512                         "valtype" => "3", 
00513                         "version" => "3", 
00514                         "word" => "3", 
00515                         "year" => "3", 
00516                         "debug" => "4", 
00517                         "deve" => "4", 
00518                         "escdelay" => "4", 
00519                         "inmap" => "4", 
00520                         "intvar" => "4", 
00521                         "loadl" => "4", 
00522                         "memcom" => "4", 
00523                         "outmap" => "4", 
00524                         "pathdeli" => "4", 
00525                         "pathlow" => "4", 
00526                         "pathupp" => "4", 
00527                         "print" => "4", 
00528                         "setlang" => "4", 
00529                         "shortnam" => "4", 
00530                         "term" => "4", 
00531                         "transl" => "4", 
00532                         "typeah" => "4", 
00533                         "zerobyte" => "4", 
00534                         "on" => "5", 
00535                         "off" => "5", 
00536                         "or" => "5", 
00537                         "and" => "5", 
00538                         "not" => "5");
00539 
00540 // Special extensions
00541 
00542 // Each category can specify a PHP function that returns an altered
00543 // version of the keyword.
00544         
00545         
00546 
00547 $this->linkscripts      = array(
00548                         "1" => "donothing", 
00549                         "4" => "donothing", 
00550                         "3" => "donothing", 
00551                         "2" => "donothing", 
00552                         "5" => "donothing");
00553 }
00554 
00555 
00556 function donothing($keywordin)
00557 {
00558         return $keywordin;
00559 }
00560 
00561 }?>

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