SiteAdapter

extends Omeka\Api\Adapter\AbstractEntityAdapter uses Omeka\Api\Adapter\SiteSlugTrait
Methods Summary
public
# getResourceName( )
{@inheritDoc}
public
# getRepresentationClass( )
{@inheritDoc}
public
# getEntityClass( )
{@inheritDoc}
public
# hydrate( Omeka\Api\Request $request , Omeka\Entity\EntityInterface $entity , Omeka\Stdlib\ErrorStore $errorStore )
{@inheritDoc}
public
# validateEntity( Omeka\Entity\EntityInterface $entity , Omeka\Stdlib\ErrorStore $errorStore )
public
# buildQuery( Doctrine\ORM\QueryBuilder $qb , array $query )
protected
# validateNavigation( Omeka\Entity\EntityInterface $entity , Omeka\Stdlib\ErrorStore $errorStore )
Validate navigation. Prevent corrupt navigation data by validating prior to saving.
protected
# getDefaultNavigation( )
Get the default nav array for new sites with no specified navigation. The default is to just include a link to the browse page.
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()
Methods used from Omeka\Api\Adapter\SiteSlugTrait trait
getAutomaticSlug() slugify()
Properties inherited from Omeka\Api\Adapter\AbstractEntityAdapter
$index, $sortFields
Properties inherited from Omeka\Api\Adapter\AbstractAdapter
$translator, $serviceLocator
Properties used from Omeka\Api\Adapter\SiteSlugTrait