ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 
6 
8 
12 interface YamlParser
13 {
19  public function parseYamlStringArrayFromFile($filePath);
20 
26  public function parseArrayFromFile($filePath);
27 
33  public function parseEntriesFromFile($filePath);
34 
40  public function parseYamlStringArrayFromString($content);
41 
47  public function parseArrayFromString($content);
48 
54  public function parseEntriesFromString($content);
55 }
parseArrayFromFile($filePath)
Returns an array of arrays 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.
parseEntriesFromFile($filePath)
Returns a Entry of the parsed YAML entries in a given file.
parseEntriesFromString($content)
Returns a list UI Component Entries of the parsed YAML entries in a given string. ...
Parses information from UI components.
Definition: YamlParser.php:12
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...