SiteBlockAttachmentRepresentation

extends Omeka\Api\Representation\AbstractRepresentation
Methods Summary
public
# __construct( Omeka\Entity\SiteBlockAttachment $attachment , Zend\ServiceManager\ServiceLocatorInterface $serviceLocator )
Construct the attachment object.
public
# jsonSerialize( )
{@inheritDoc}
public
# item( )
public
# media( )
public
# caption( )
Methods inherited from Omeka\Api\Representation\AbstractRepresentation
getAdapter(), getDateTime(), getTranslator(), getViewHelper(), primaryMedia(), getServiceLocator(), setServiceLocator()
Properties Summary
protected Omeka\Entity\SiteBlockAttachment $attachment
# NULL
Properties inherited from Omeka\Api\Representation\AbstractRepresentation
$translator, $viewHelperManager, $services