ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_opl Class Reference
+ Inheritance diagram for HFile_opl:
+ Collaboration diagram for HFile_opl:

Public Member Functions

 HFile_opl ()
 donothing ($keywordin)
- Public Member Functions inherited from HFile
 HFile ()
 parse_file ($file)
 to_perl ($stub, $tofile=1)
 to_php ($stub, $tofile=1)
 _get_categories ()
 _dump_linkscripts ()
 _dump_perl_linkscripts ()
 _dump_perl_defaultscripts ()
 _dump_colours ()
 _dump_var ($variable, $name)
 _dump_array ($array, $name)
 _dump_perl_array ($array, $name)
 _dump_hash ($hash, $name)
 _dump_perl_hash ($hash, $name)

Detailed Description

Definition at line 5 of file HFile_opl.php.

Member Function Documentation

HFile_opl::donothing (   $keywordin)

Definition at line 515 of file HFile_opl.php.

{
return $keywordin;
}
HFile_opl::HFile_opl ( )

Definition at line 6 of file HFile_opl.php.

References HFile\HFile().

{
$this->HFile();
/*************************************/
// Beautifier Highlighting Configuration File
// OPL
/*************************************/
// Flags
$this->nocase = "0";
$this->notrim = "0";
$this->perl = "0";
// Colours
$this->colours = array("blue", "purple");
$this->quotecolour = "blue";
$this->blockcommentcolour = "green";
$this->linecommentcolour = "green";
// Indent Strings
$this->indent = array();
$this->unindent = array();
// String characters and delimiters
$this->stringchars = array();
$this->delimiters = array("~", "!", "@", "^", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
$this->escchar = "";
// Comment settings
$this->linecommenton = array("rem");
$this->blockcommenton = array("");
$this->blockcommentoff = array("");
// Keywords (keyword mapping to colour number)
$this->keywords = array(
"abs" => "1",
"acos" => "1",
"addr" => "1",
"adjustalloc" => "1",
"alert" => "1",
"alloc" => "1",
"and" => "1",
"app" => "1",
"append" => "1",
"asc" => "1",
"asin" => "1",
"at" => "1",
"atan" => "1",
"back" => "1",
"beep" => "1",
"begintrans" => "1",
"bookmark" => "1",
"break" => "1",
"busy" => "1",
"cancel" => "1",
"caption" => "1",
"chr$" => "1",
"clearflags" => "1",
"cls" => "1",
"close" => "1",
"cmd$" => "1",
"committrans" => "1",
"compact" => "1",
"compress" => "1",
"const" => "1",
"continue" => "1",
"copy" => "1",
"count" => "1",
"cos" => "1",
"create" => "1",
"cursor" => "1",
"daystodate" => "1",
"datetosecs" => "1",
"datim$" => "1",
"day" => "1",
"dayname$" => "1",
"days" => "1",
"dButtons" => "1",
"dCheckbox" => "1",
"dChoice" => "1",
"dDate" => "1",
"declare" => "1",
"dEdit" => "1",
"dEditmulti" => "1",
"defaultwin" => "1",
"deg" => "1",
"delete" => "1",
"dFile" => "1",
"dFloat" => "1",
"dialog" => "1",
"dInit" => "1",
"dir$" => "1",
"dLong" => "1",
"do" => "1",
"dow" => "1",
"dPosition" => "1",
"dText" => "1",
"dTime" => "1",
"dXinput" => "1",
"else" => "1",
"elseif" => "1",
"enda" => "1",
"endif" => "1",
"endv" => "1",
"endp" => "1",
"endwh" => "1",
"eof" => "1",
"erase" => "1",
"err" => "1",
"err$" => "1",
"errx$" => "1",
"escape" => "1",
"eval" => "1",
"exist" => "1",
"exp" => "1",
"ext" => "1",
"external" => "1",
"find" => "1",
"findfield" => "1",
"first" => "1",
"fix$" => "1",
"flags" => "1",
"flt" => "1",
"font" => "1",
"freealloc" => "1",
"gAt" => "1",
"gBorder" => "1",
"gBox" => "1",
"gButton" => "1",
"gCircle" => "1",
"gClock" => "1",
"gClose" => "1",
"gCls" => "1",
"gColor" => "1",
"gCopy" => "1",
"gCreate" => "1",
"gCreatebit" => "1",
"gEllipse" => "1",
"gen$" => "1",
"get" => "1",
"get$" => "1",
"getcmd$" => "1",
"getdoc$" => "1",
"getevent" => "1",
"getevent32" => "1",
"geteventa32" => "1",
"geteventc" => "1",
"gFill" => "1",
"gFont" => "1",
"gGmode" => "1",
"gGrey" => "1",
"gHeight" => "1",
"gIdentity" => "1",
"gInfo32" => "1",
"gInvert" => "1",
"giprint" => "1",
"gLoadbit" => "1",
"gLoadfont" => "1",
"gLineby" => "1",
"gLineto" => "1",
"global" => "1",
"gMove" => "1",
"gOrder" => "1",
"gOriginx" => "1",
"gOriginY" => "1",
"goto" => "1",
"gotomark" => "1",
"gPatt" => "1",
"gPeekline" => "1",
"gPoly" => "1",
"gPrint" => "1",
"gPrintb" => "1",
"gPrintclip" => "1",
"gRank" => "1",
"gSavebit" => "1",
"gScroll" => "1",
"gSetpenwidth" => "1",
"gSetwin" => "1",
"gStyle" => "1",
"gTmode" => "1",
"gTwidth" => "1",
"gUnloadfont" => "1",
"gUpdate" => "1",
"gUse" => "1",
"gVisible" => "1",
"gWidth" => "1",
"gX" => "1",
"gXborder" => "1",
"gXprint" => "1",
"gY" => "1",
"hex$" => "1",
"hour" => "1",
"iabs" => "1",
"icon" => "1",
"if" => "1",
"include" => "1",
"input" => "1",
"insert" => "1",
"int" => "1",
"intf" => "1",
"intrans" => "1",
"ioa" => "1",
"ioc" => "1",
"iocancel" => "1",
"ioopen" => "1",
"ioclose" => "1",
"ioread" => "1",
"ioseek" => "1",
"iosignal" => "1",
"iow" => "1",
"iowait" => "1",
"iowaitstat" => "1",
"iowaitstat32" => "1",
"iowrite" => "1",
"ioyield" => "1",
"key" => "1",
"keya" => "1",
"keyc" => "1",
"key$" => "1",
"killmark" => "1",
"kmod" => "1",
"last" => "1",
"lclose" => "1",
"left$" => "1",
"len" => "1",
"lenalloc" => "1",
"ln" => "1",
"loadm" => "1",
"loc" => "1",
"local" => "1",
"lock" => "1",
"log" => "1",
"lopen" => "1",
"lower$" => "1",
"lprint" => "1",
"max" => "1",
"mCard" => "1",
"mCasc" => "1",
"mean" => "1",
"menu" => "1",
"mid$" => "1",
"min" => "1",
"mInit" => "1",
"minute" => "1",
"mkdir" => "1",
"modify" => "1",
"month" => "1",
"month$" => "1",
"mPopup" => "1",
"next" => "1",
"not" => "1",
"num$" => "1",
"off" => "1",
"on" => "1",
"onerr" => "1",
"open" => "1",
"openr" => "1",
"or" => "1",
"parse$" => "1",
"path" => "1",
"pause" => "1",
"peek" => "1",
"pi" => "1",
"pointerfilter" => "1",
"poke" => "1",
"pos" => "1",
"position" => "1",
"print" => "1",
"proc" => "1",
"put" => "1",
"raise" => "1",
"rad" => "1",
"randomize" => "1",
"realloc" => "1",
"recsize" => "1",
"rename" => "1",
"rept$" => "1",
"return" => "1",
"right$" => "1",
"rmdir" => "1",
"rnd" => "1",
"rollback" => "1",
"sci$" => "1",
"screen" => "1",
"screeninfo" => "1",
"second" => "1",
"secstodate" => "1",
"setdoc" => "1",
"setflags" => "1",
"setpath" => "1",
"sin" => "1",
"space" => "1",
"sqr" => "1",
"std" => "1",
"stop" => "1",
"style" => "1",
"sum" => "1",
"tan" => "1",
"testevent" => "1",
"trap" => "1",
"type" => "1",
"uadd" => "1",
"unloadm" => "1",
"until" => "1",
"update" => "1",
"upper$" => "1",
"use" => "1",
"usub" => "1",
"val" => "1",
"var" => "1",
"vector" => "1",
"week" => "1",
"while" => "1",
"year" => "1",
"backlighton&" => "2",
"backupbatterystatus&" => "2",
"bitmapdisplaymode&" => "2",
"bitmapload&" => "2",
"bitmapunload" => "2",
"cancelcapturekey" => "2",
"capturekey&" => "2",
"checkuid$" => "2",
"claimpointergrab" => "2",
"createfiledialog$" => "2",
"DBaddfield" => "2",
"DBaddfieldtrunc" => "2",
"DBcreateindex" => "2",
"DBdeletekey" => "2",
"DBdropindex" => "2",
"DBgetfieldcount&" => "2",
"DBgetfieldname$" => "2",
"DBgetfieldtype&" => "2",
"DBisdamaged&" => "2",
"DBisunique&" => "2",
"DBmakeunique" => "2",
"DBnewkey&" => "2",
"DBrecover" => "2",
"DBsetcomparison" => "2",
"DTdatetimediff" => "2",
"DTday&" => "2",
"DTdaynoinweek&" => "2",
"DTdaysdiff&" => "2",
"DTdaysinmonth&" => "2",
"DTdeletedatetime" => "2",
"DThour&" => "2",
"DThoursdiff&" => "2",
"DTmicro&" => "2",
"DTmicrosdiff&" => "2",
"DTminute&" => "2",
"DTminutesdiff&" => "2",
"DTmonth&" => "2",
"DTmonthsdiff&" => "2",
"DTnewdatetime&" => "2",
"DTnow&" => "2",
"DTsecond&" => "2",
"DTsecondsdiff&" => "2",
"DTsetday&" => "2",
"DTsethometime" => "2",
"DTsethour&" => "2",
"DTsetmicro&" => "2",
"DTsetminute&" => "2",
"DTsetmonth&" => "2",
"DTsetsecond&" => "2",
"DTsetyear&" => "2",
"DTweeknoinyear&" => "2",
"DTyear&" => "2",
"DTyearsdiff&" => "2",
"displaytasklist" => "2",
"endtask&" => "2",
"false%" => "2",
"getfiletime" => "2",
"getnextwindowgroupname$" => "2",
"getnextwindowid&" => "2",
"getthreadidfromappuid&" => "2",
"getthreadidfromopendoc&" => "2",
"initialiseparaformat" => "2",
"insertbitmap" => "2",
"insertnewpara" => "2",
"insertscaledbitmap" => "2",
"insertspecialchar" => "2",
"insertstring" => "2",
"irdaconnecttoreceive" => "2",
"irdaconnecttosend&" => "2",
"irdadisconnect" => "2",
"irdaread$" => "2",
"irdareada" => "2",
"irdawaitfordisconnect" => "2",
"irdawrite" => "2",
"isbacklightpresent&" => "2",
"insystem&" => "2",
"ishidden&" => "2",
"isreadonly&" => "2",
"killcurrentprocess" => "2",
"killprocess" => "2",
"killtask&" => "2",
"LCclockformat&" => "2",
"LCcountrycode&" => "2",
"LCdecimalseparator$" => "2",
"LCsetclockformat" => "2",
"LCstartofweek&" => "2",
"LCthousandsseparator$" => "2",
"loadrsc&" => "2",
"logontothread" => "2",
"machinename$" => "2",
"machineuniqueid" => "2",
"mainbatterystatus&" => "2",
"maxdisplaycontrast&" => "2",
"mediatype&" => "2",
"mod&" => "2",
"openfiledialog$" => "2",
"pagesetupdialog" => "2",
"playsound" => "2",
"playsounda" => "2",
"printdialog" => "2",
"printerdoclength&" => "2",
"printpreviewdialog" => "2",
"printrangedialog" => "2",
"readrsc$" => "2",
"readrsclong&" => "2",
"removespecificcharformat" => "2",
"removespecificparaformat" => "2",
"resetautoswitchofftimer" => "2",
"resetprinting" => "2",
"runapp&" => "2",
"runexe&" => "2",
"saveasfiledialog$" => "2",
"sendbitmaptoprinter" => "2",
"sendbuffertoprinter" => "2",
"sendscaledbitmaptoprinter" => "2",
"sendnewparatoprinter" => "2",
"sendrichtexttoprinter" => "2",
"sendspecialchartoprinter" => "2",
"sendstringtoprinter" => "2",
"setactive" => "2",
"setautoswitchoffbehavior" => "2",
"setautoswitchofftime" => "2",
"setalignment" => "2",
"setbackground" => "2",
"setbackgroundbythread&" => "2",
"setbacklighton" => "2",
"setbacklightbehavior" => "2",
"setbacklightontime" => "2",
"setcomputemode" => "2",
"setdisplaycontrast" => "2",
"setfiletime" => "2",
"setfontheight" => "2",
"setfontname" => "2",
"setfontposition" => "2",
"setfontposture" => "2",
"setfontstrikethrough" => "2",
"setfontunderline" => "2",
"setfontweight" => "2",
"setforeground" => "2",
"setforegroundbythread&" => "2",
"setglobalcharformat" => "2",
"setglobalparaformat" => "2",
"sethiddenfile" => "2",
"setkeyclickenabled" => "2",
"setlocalparaformat" => "2",
"setpointercapture" => "2",
"setpointerclickenabled" => "2",
"setpointergrabon" => "2",
"setreadonly" => "2",
"setsounddriverenabled" => "2",
"setsoundenabled" => "2",
"setsystemfile" => "2",
"spriteappend" => "2",
"spritechange" => "2",
"spritedelete" => "2",
"spritecreate&" => "2",
"spritedraw" => "2",
"spritepos" => "2",
"spriteuse" => "2",
"stopsound&" => "2",
"switchoff" => "2",
"tbarbutt" => "2",
"tbarhide" => "2",
"tbarinit" => "2",
"tbarlatch" => "2",
"tbarlink" => "2",
"tbaroffer%" => "2",
"tbarsettitle" => "2",
"tbarshow" => "2",
"terminatecurrentprocess" => "2",
"terminateprocess" => "2",
"true%" => "2",
"unloadrsc" => "2",
"volumesize&" => "2",
"volumespacefree&" => "2",
"volumeuniqueid&" => "2",
"xo" => "2");
// Special extensions
// Each category can specify a PHP function that returns an altered
// version of the keyword.
$this->linkscripts = array(
"1" => "donothing",
"2" => "donothing");
}

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: