ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
YamlParser.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
4
10interface YamlParser {
16 public function parseYamlStringArrayFromFile($filePath);
17
23 public function parseArrayFromFile($filePath);
24
30 public function parseEntriesFromFile($filePath);
31
37 public function parseYamlStringArrayFromString($content);
38
44 public function parseArrayFromString($content);
45
51 public function parseEntriesFromString($content);
52
53
54}
An exception for terminatinating execution or to throw for unit testing.
Parses information from UI components.
Definition: YamlParser.php:10
parseEntriesFromString($content)
Returns a list UI Component Entries of the parsed YAML entries in a given string.
parseEntriesFromFile($filePath)
Returns a Entry\ComponentEntries of the parsed YAML entries in a given file.
parseArrayFromString($content)
Returns an array of arrays of the parsed YAML entries in a given string.
parseArrayFromFile($filePath)
Returns an array of arrays of the parsed YAML entries in a given file.
parseYamlStringArrayFromFile($filePath)
Returns an array of all YAML entries as string of the components in the factories in a given file.
parseYamlStringArrayFromString($content)
Returns an array of all YAML entries as string of the components in the factories in a given string.