AbstractAdapter

Abstract API adapter.
implements Omeka\Api\Adapter\AdapterInterface , Zend\EventManager\EventManagerAwareInterface , Zend\EventManager\EventsCapableInterface , Zend\Permissions\Acl\Resource\ResourceInterface uses Zend\EventManager\EventManagerAwareTrait

Known subclasses

Omeka\Api\Adapter\AbstractEntityAdapter, Omeka\Api\Adapter\AbstractResourceEntityAdapter, Omeka\Api\Adapter\ApiResourceAdapter, Omeka\Api\Adapter\AssetAdapter, Omeka\Api\Adapter\ItemAdapter, Omeka\Api\Adapter\ItemSetAdapter, Omeka\Api\Adapter\JobAdapter, Omeka\Api\Adapter\MediaAdapter, Omeka\Api\Adapter\ModuleAdapter, Omeka\Api\Adapter\PropertyAdapter, Omeka\Api\Adapter\ResourceAdapter, Omeka\Api\Adapter\ResourceClassAdapter, Omeka\Api\Adapter\ResourceTemplateAdapter, Omeka\Api\Adapter\SiteAdapter, Omeka\Api\Adapter\SitePageAdapter, Omeka\Api\Adapter\UserAdapter, Omeka\Api\Adapter\VocabularyAdapter
Abstract
Open source code
Methods Summary
abstract public
# getRepresentationClass( )
Get the fully qualified name of the corresponding representation class.
public
# create( Omeka\Api\Request $request )
{@inheritDoc}

Implementation of

public
public
# read( Omeka\Api\Request $request )
{@inheritDoc}

Implementation of

public
# update( Omeka\Api\Request $request )
{@inheritDoc}

Implementation of

public
public
public
# delete( Omeka\Api\Request $request )
{@inheritDoc}

Implementation of

public
public
# getAdapter( string $resourceName )
Get an adapter by resource name.
public
# getRepresentation( Omeka\Api\ResourceInterface $data = NULL )
Compose a resource representation object.

Implementation of

public
# getTranslator( )
Get the translator service return TranslatorInterface
public
public
public
Methods used from Zend\EventManager\EventManagerAwareTrait trait
setEventManager() getEventManager()
Properties Summary
protected Zend\I18n\Translator\TranslatorInterface $translator
# NULL
protected Zend\ServiceManager\ServiceLocatorInterface $serviceLocator
# NULL
Properties used from Zend\EventManager\EventManagerAwareTrait
$events