VocabularyAdapter

extends Omeka\Api\Adapter\AbstractEntityAdapter
Methods Summary
public
# getResourceName( )
{@inheritDoc}
public
# getRepresentationClass( )
{@inheritDoc}
public
# getEntityClass( )
{@inheritDoc}
public
# sortQuery( Doctrine\ORM\QueryBuilder $qb , array $query )
public
# validateRequest( Omeka\Api\Request $request , Omeka\Stdlib\ErrorStore $errorStore )
public
# hydrate( Omeka\Api\Request $request , Omeka\Entity\EntityInterface $entity , Omeka\Stdlib\ErrorStore $errorStore )
{@inheritDoc}
public
# buildQuery( Doctrine\ORM\QueryBuilder $qb , array $query )
public
# validateEntity( Omeka\Entity\EntityInterface $entity , Omeka\Stdlib\ErrorStore $errorStore )
Methods inherited from Omeka\Api\Adapter\AbstractEntityAdapter
hydrate(), validateRequest(), validateEntity(), buildQuery(), sortQuery(), sortByCount(), limitQuery(), search(), create(), batchCreate(), read(), update(), batchUpdate(), delete(), batchDelete(), getEntityManager(), deleteEntity(), hydrateEntity(), authorize(), findEntity(), createNamedParameter(), createAlias(), isTerm(), isUnique(), shouldHydrate(), hydrateOwner(), hydrateResourceClass(), hydrateResourceTemplate(), updateTimestamps()
Methods inherited from Omeka\Api\Adapter\AbstractAdapter
getRepresentationClass(), search(), create(), batchCreate(), read(), update(), batchUpdate(), preprocessBatchUpdate(), delete(), batchDelete(), getAdapter(), getRepresentation(), getTranslator(), getResourceId(), setServiceLocator(), getServiceLocator()
Properties Summary
protected $sortFields
{@inheritDoc}
# array ( 'id' => 'id', 'namespace_uri' => 'namespaceUri', 'prefix' => 'prefix', 'label' => 'label', 'comment' => 'comment', )
protected array $reservedPrefixes
# array ( 0 => '^o$', 1 => '^o-', 2 => '^time$', 3 => '^cnt$', )
Properties inherited from Omeka\Api\Adapter\AbstractEntityAdapter
$index, $sortFields
Properties inherited from Omeka\Api\Adapter\AbstractAdapter
$translator, $serviceLocator