PHP Class Sulu\Component\Webspace\Loader\XmlFileLoader11

Inheritance: extends XmlFileLoader10
Show file Open project: sulu/sulu

Protected Methods

Method Description
generateDefaultTemplates ( Webspace $webspace )
generateTemplates ( Webspace $webspace ) : Webspace Adds the template for the given types as described in the XML document.
parseXml ( $file )

Method Details

generateDefaultTemplates() protected method

protected generateDefaultTemplates ( Webspace $webspace )
$webspace Sulu\Component\Webspace\Webspace

generateTemplates() protected method

The types can be arbitrary, so that another bundle can easily add a new type and use the information from the webspace.
protected generateTemplates ( Webspace $webspace ) : Webspace
$webspace Sulu\Component\Webspace\Webspace
return Sulu\Component\Webspace\Webspace

parseXml() protected method

protected parseXml ( $file )