AbstractController

Abstract controller Convenience methods for pre-built plugins (@see __call):
implements Zend\EventManager\EventManagerAwareInterface , Zend\EventManager\EventsCapableInterface , Zend\Mvc\InjectApplicationEventInterface , Zend\Stdlib\DispatchableInterface

Known subclasses

Omeka\Controller\Admin\AssetController, Omeka\Controller\Admin\IndexController, Omeka\Controller\Admin\ItemController, Omeka\Controller\Admin\ItemSetController, Omeka\Controller\Admin\JobController, Omeka\Controller\Admin\MediaController, Omeka\Controller\Admin\ModuleController, Omeka\Controller\Admin\PropertyController, Omeka\Controller\Admin\ResourceClassController, Omeka\Controller\Admin\ResourceTemplateController, Omeka\Controller\Admin\SettingController, Omeka\Controller\Admin\SystemInfoController, Omeka\Controller\Admin\UserController, Omeka\Controller\Admin\VocabularyController, Omeka\Controller\ApiController, Omeka\Controller\IndexController, Omeka\Controller\InstallController, Omeka\Controller\LoginController, Omeka\Controller\MaintenanceController, Omeka\Controller\MigrateController, Omeka\Controller\Site\IndexController, Omeka\Controller\Site\ItemController, Omeka\Controller\Site\ItemSetController, Omeka\Controller\Site\MediaController, Omeka\Controller\Site\PageController, Omeka\Controller\SiteAdmin\IndexController, Omeka\Controller\SiteAdmin\PageController, Zend\Mvc\Controller\AbstractActionController, Zend\Mvc\Controller\AbstractRestfulController
Abstract









Open source code
Methods Summary
abstract public
# onDispatch( Zend\Mvc\MvcEvent $e )
Execute the request
public
# dispatch( Zend\Stdlib\RequestInterface $request , Zend\Stdlib\ResponseInterface $response = NULL )
Dispatch a request

events


Implementation of

public
# getRequest( )
Get request object
public
# getResponse( )
Get response object
public
# setEventManager( Zend\EventManager\EventManagerInterface $events )
Set the event manager instance used by this context

Implementation of

public
# getEventManager( )
Retrieve the event manager Lazy-loads an EventManager instance if none registered.

Implementation of

public
# setEvent( Zend\EventManager\EventInterface $e )
Set an event to use during dispatch By default, will re-cast to MvcEvent if another event type is provided.

Implementation of

public
# getEvent( )
Get the attached event Will create a new MvcEvent if none provided.

Implementation of

public
# getPluginManager( )
Get plugin manager
public
# setPluginManager( Zend\Mvc\Controller\PluginManager $plugins )
Set plugin manager
public
# plugin( string $name , array $options = NULL )
Get plugin instance
public
# __call( string $method , array $params )
Method overloading: return/call plugins If the plugin is a functor, call it, passing the parameters provided. Otherwise, return the plugin instance.
protected
# attachDefaultListeners( )
Register the default events for this controller
public static
# getMethodFromAction( string $action )
Transform an "action" token into a method name
Properties Summary
protected Zend\Mvc\Controller\PluginManager $plugins









# NULL
protected Zend\Stdlib\RequestInterface $request









# NULL
protected Zend\Stdlib\ResponseInterface $response









# NULL
protected Zend\EventManager\EventInterface $event









# NULL
protected Zend\EventManager\EventManagerInterface $events









# NULL
protected null|string|string[] $eventIdentifier









# NULL