ILIAS  release_4-4 Revision
HFile_netcdf Class Reference
+ Inheritance diagram for HFile_netcdf:
+ Collaboration diagram for HFile_netcdf:

Public Member Functions

 HFile_netcdf ()
 
 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_netcdf.php.

Member Function Documentation

◆ donothing()

HFile_netcdf::donothing (   $keywordin)

Definition at line 86 of file HFile_netcdf.php.

87 {
88  return $keywordin;
89 }

◆ HFile_netcdf()

HFile_netcdf::HFile_netcdf ( )

Definition at line 6 of file HFile_netcdf.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // netCDF CDL 3.3
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "0";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array("\"");
33 $this->delimiters = array("(", ")", "=", " ", "{", "}", ":", ";", "\"", "<", ">", " ", ",");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("//");
39 $this->blockcommenton = array("");
40 $this->blockcommentoff = array("");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "data" => "1",
46  "dimensions" => "1",
47  "netcdf" => "1",
48  "variables" => "1",
49  "byte" => "2",
50  "char" => "2",
51  "double" => "2",
52  "float" => "2",
53  "int" => "2",
54  "long" => "2",
55  "real" => "2",
56  "short" => "2",
57  "C_format" => "3",
58  "Conventions" => "3",
59  "add_offset" => "3",
60  "history" => "3",
61  "long_name" => "3",
62  "missing_value" => "3",
63  "scale_factor" => "3",
64  "signedness" => "3",
65  "title" => "3",
66  "units" => "3",
67  "valid_max" => "3",
68  "valid_min" => "3",
69  "valid_range" => "3",
70  "_FillValue" => "3");
71 
72 // Special extensions
73 
74 // Each category can specify a PHP function that returns an altered
75 // version of the keyword.
76 
77 
78 
79 $this->linkscripts = array(
80  "1" => "donothing",
81  "2" => "donothing",
82  "3" => "donothing");
83 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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