\qfq BodytextParser

Summary

Methods
Properties
Constants
process()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
stripAndRemoveComment()
joinLine()
unNest()
No private properties found
N/A

Methods

process()

process(  $bodytext) : mixed

Parameters

$bodytext

Returns

mixed

stripAndRemoveComment()

stripAndRemoveComment(  $bodytext) : string

Trim all lines, remove all empty lines and all lines which start with '#'

Parameters

$bodytext

Returns

string

joinLine()

joinLine(  $bodytext) : string

Join lines, which do not begin with '<level>.<keyword>[ ]='

Parameters

$bodytext

Returns

string

unNest()

unNest(  $bodytext) : mixed|string

Parameters

$bodytext

Throws

\qfq\UserFormException

Returns

mixed|string