ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_mfl.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".") . "/Services/COPage/syntax_highlight/php";
3 if (!isset($BEAUT_PATH)) {
4  return;
5 }
6  require_once("$BEAUT_PATH/Beautifier/HFile.php");
7 
8  class HFile_MFL extends HFile
9  {
10  public function HFile_MFL()
11  {
12  $this->HFile(); // Call the HFile constructor.
13  $this->colours = array("blue", "brown", "red");
14  $this->delimiters = array(" ", " ", "(", ")", ".");
15  $this->keywords = array(
16  "import" => "1",
17  "function" => "1",
18  "forall" => "1",
19  "return" => "2",
20  "print" => "2",
21  "+" => "3",
22  "=" => "3"
23  );
24  # $this->stringchars = array("\"", "'");
25  # $this->escchar = "\\";
26  }
27  }
Create styles array
The data for the language used.
Definition: HFile.php:21
$BEAUT_PATH
Definition: HFile_mfl.php:2