Class

eZ\Bundle\EzPublishCoreBundle\Controller

class Controller extends Controller

Methods

Repository getRepository()

GlobalHelper getGlobalHelper()

Returns the general helper service, exposed in Twig templates as "ezpublish" global variable.

Location getRootLocation()

Returns the root location object for current siteaccess configuration.

Details

at line 20
public Repository getRepository()

Return Value

Repository

Exceptions

LogicException

at line 38
public GlobalHelper getGlobalHelper()

Returns the general helper service, exposed in Twig templates as "ezpublish" global variable.

Return Value

GlobalHelper

at line 48
public Location getRootLocation()

Returns the root location object for current siteaccess configuration.

Return Value

Location