AbstractModule

Abstract Omeka module.
implements Zend\ModuleManager\Feature\ConfigProviderInterface uses Zend\EventManager\EventManagerAwareTrait

Known subclasses

Omeka\Module
Abstract
Open source code
Methods Summary
public
# onBootstrap( Zend\Mvc\MvcEvent $event )
Bootstrap the module. Call parent::onBootstrap($event) first when overriding this method.
public
# install( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator )
Install this module.
public
# uninstall( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator )
Uninstall this module.
public
# upgrade( string $oldVersion , string $newVersion , Zend\ServiceManager\ServiceLocatorInterface $serviceLocator )
Upgrade this module.
public
# getConfigForm( Zend\View\Renderer\PhpRenderer $renderer )
Get this module's configuration form.
public
# handleConfigForm( Zend\Mvc\Controller\AbstractController $controller )
Handle this module's configuration form.
public
# attachListeners( Zend\EventManager\SharedEventManagerInterface $sharedEventManager )
Attach listeners to the $sharedEventManager for shared events: <code> $sharedEventManager->attach( 'Omeka\Identifier', 'shared_event_name', array($this, 'mySharedEventCallback') ); </code> The shared event callbacks receive a {@link \Zend\EventManager\EventInterface} object as its only parameter.
public
# getConfig( )
Return module-specific configuration. {@inheritDoc}

Implementation of

public
# getAutoloaderConfig( )
{@inheritDoc}
public
# setServiceLocator( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator )
Set the service locator.
public
# getServiceLocator( )
Get the service locator.
Methods used from Zend\EventManager\EventManagerAwareTrait trait
setEventManager() getEventManager()
Properties Summary
protected Zend\ServiceManager\ServiceLocatorInterface $serviceLocator
# NULL
Properties used from Zend\EventManager\EventManagerAwareTrait
$events