SiteRepresentation

extends Omeka\Api\Representation\AbstractEntityRepresentation
Methods Summary
public
# getJsonLdType( )
{@inheritDoc}
public
# adminUrl( $action = NULL, $canonical = false )
public
public
# slug( )
public
# title( )
public
# theme( )
public
public
# itemPool( )
public
# created( )
public
# modified( )
public
# isPublic( )
public
# pages( )
public
# linkedPages( )
Return pages that are linked in site navigation, in the order they appear.
public
# notLinkedPages( )
Return pages that are not linked in site navigation.
public
# sitePermissions( )
Return the permissions assigned to this site.
public
# siteItemSets( )
Return the item sets assigned to this site.
public
# owner( )
Get the owner representation of this resource.
public
# siteUrl( $siteSlug = NULL, $canonical = false )
public
# adminNav( )
Get the navigation helper for admin-side nav for this site for the current user
public
# publicNav( )
Get the navigation helper for public-side nav for this site
protected
# getPublicNavContainer( )
Get the navigation container for this site's public nav
Methods inherited from Omeka\Api\Representation\AbstractEntityRepresentation
__construct(), userIsAllowed()
Methods inherited from Omeka\Api\Representation\AbstractResourceRepresentation
getJsonLd(), getJsonLdType(), __construct(), id(), jsonSerialize(), setId(), setAdapter(), getAdapter(), getReference(), apiUrl(), url(), adminUrl(), siteUrl(), link(), linkRaw(), getFileUrl(), getControllerName(), embeddedJsonLd()
Methods inherited from Omeka\Api\Representation\AbstractRepresentation
getAdapter(), getDateTime(), getTranslator(), getViewHelper(), primaryMedia(), getServiceLocator(), setServiceLocator()
Properties Summary
protected Zend\Navigation\Navigation $publicNavContainer
# NULL
Properties inherited from Omeka\Api\Representation\AbstractResourceRepresentation
$id, $resource, $adapter
Properties inherited from Omeka\Api\Representation\AbstractRepresentation
$translator, $viewHelperManager, $services