ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\UI\Implementation\Crawler\YamlParser Interface Reference

Parses information from UI components. More...

+ Inheritance diagram for ILIAS\UI\Implementation\Crawler\YamlParser:
+ Collaboration diagram for ILIAS\UI\Implementation\Crawler\YamlParser:

Public Member Functions

 parseYamlStringArrayFromFile (string $filePath)
 Returns an array of all YAML entries as string of the components in the factories in a given file. More...
 
 parseArrayFromFile (string $filePath)
 Returns an array of arrays of the parsed YAML entries in a given file. More...
 
 parseEntriesFromFile (string $filePath)
 Returns an Entry of the parsed YAML entries in a given file. More...
 
 parseYamlStringArrayFromString (string $content)
 Returns an array of all YAML entries as string of the components in the factories in a given string. More...
 
 parseArrayFromString (string $content)
 Returns an array of arrays of the parsed YAML entries in a given string. More...
 
 parseEntriesFromString (string $content)
 Returns a list UI Component Entries of the parsed YAML entries in a given string. More...
 

Detailed Description

Parses information from UI components.

Source are comments in the factories in YAML format.

Definition at line 28 of file YamlParser.php.

Member Function Documentation

◆ parseArrayFromFile()

ILIAS\UI\Implementation\Crawler\YamlParser::parseArrayFromFile ( string  $filePath)

Returns an array of arrays of the parsed YAML entries in a given file.

Implemented in ILIAS\UI\Implementation\Crawler\EntriesYamlParser.

◆ parseArrayFromString()

ILIAS\UI\Implementation\Crawler\YamlParser::parseArrayFromString ( string  $content)

Returns an array of arrays of the parsed YAML entries in a given string.

Implemented in ILIAS\UI\Implementation\Crawler\EntriesYamlParser.

◆ parseEntriesFromFile()

ILIAS\UI\Implementation\Crawler\YamlParser::parseEntriesFromFile ( string  $filePath)

Returns an Entry of the parsed YAML entries in a given file.

Implemented in ILIAS\UI\Implementation\Crawler\EntriesYamlParser.

◆ parseEntriesFromString()

ILIAS\UI\Implementation\Crawler\YamlParser::parseEntriesFromString ( string  $content)

Returns a list UI Component Entries of the parsed YAML entries in a given string.

Implemented in ILIAS\UI\Implementation\Crawler\EntriesYamlParser.

◆ parseYamlStringArrayFromFile()

ILIAS\UI\Implementation\Crawler\YamlParser::parseYamlStringArrayFromFile ( string  $filePath)

Returns an array of all YAML entries as string of the components in the factories in a given file.

Returns
string[]

Implemented in ILIAS\UI\Implementation\Crawler\EntriesYamlParser.

◆ parseYamlStringArrayFromString()

ILIAS\UI\Implementation\Crawler\YamlParser::parseYamlStringArrayFromString ( string  $content)

Returns an array of all YAML entries as string of the components in the factories in a given string.

Implemented in ILIAS\UI\Implementation\Crawler\EntriesYamlParser.


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