ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
FillPattern.php
Go to the documentation of this file.
1<?php
2
4
6
8{
12 protected static $fillPatternMap = [
13 0x00 => Fill::FILL_NONE,
14 0x01 => Fill::FILL_SOLID,
32 ];
33
42 public static function lookup($index)
43 {
44 if (isset(self::$fillPatternMap[$index])) {
45 return self::$fillPatternMap[$index];
46 }
47
48 return Fill::FILL_NONE;
49 }
50}
An exception for terminatinating execution or to throw for unit testing.
static lookup($index)
Get fill pattern from index OpenOffice documentation: 2.5.12.
Definition: FillPattern.php:42
$index
Definition: metadata.php:60