ThemeContentsParser

Class ThemeContentsParser

This class represents a parser for theme contents

package

Default

Methods

Return a collection of the provided localized values

createLocalizedCollection(\stdClass $values = null, \StringType $itemClassName) : mixed
static

Arguments

$values

\stdClass

Object containing locale-based values

$itemClassName

\StringType

Item class name

Response

mixed

Dynamic output (all outputs implement LocalizedContentAttributeCollectionInterface)

Return the parsed theme contents

parse(\stdClass $contents) : \ThemeContents
static
Throws
\UnfinishedBuildException

Arguments

$contents

\stdClass

Theme contents

Response

\ThemeContents

Return a parsed info element content

parseInfoElementContent(\stdClass $content) : \InfoElementContent
static
Throws
\UnfinishedBuildException

Arguments

$content

\stdClass

Info element content

Response

\InfoElementContent

Return the parsed info element contents

parseInfoElementContents(array $infoElementContents) : \InfoElementContentCollection
static
Throws
\UnfinishedBuildException

Arguments

$infoElementContents

array

Info element contents

Response

\InfoElementContentCollection

Return a parsed info page content

parseInfoPageContent(\stdClass $content) : \InfoPageContent
static
Throws
\UnfinishedBuildException
\UnfinishedBuildException

Arguments

$content

\stdClass

Info page content

Response

\InfoPageContent

Return the parsed info page contents

parseInfoPageContents(array $infoPageContents) : \InfoPageContentCollection
static
Throws
\UnfinishedBuildException

Arguments

$infoPageContents

array

Info page contents

Response

\InfoPageContentCollection

Return a parsed link page content

parseLinkPageContent(\stdClass $content) : \LinkPageContent
static
Throws
\UnfinishedBuildException

Arguments

$content

\stdClass

Link page content

Response

\LinkPageContent

Return the parsed link page contents

parseLinkPageContents(array $linkPageContents) : \LinkPageContentCollection
static
Throws
\UnfinishedBuildException

Arguments

$linkPageContents

array

Link page contents

Response

\LinkPageContentCollection