ValueRepresentation

extends Omeka\Api\Representation\AbstractRepresentation
Methods Summary
public
# __construct( Omeka\Entity\Value $value , Zend\ServiceManager\ServiceLocatorInterface $serviceLocator )
Construct the value representation object.
public
# __toString( )
Return this value as an unescaped string.
public
# asHtml( )
Return this value for display on a webpage.
public
# jsonSerialize( )
{@inheritDoc}
public
# resource( )
Get the resource representation. This is the subject of the RDF triple represented by this value.
public
# property( )
Get the property representation. This is the predicate of the RDF triple represented by this value.
public
# type( )
Get the value type.
public
# value( )
Get the value itself. This is the object of the RDF triple represented by this value.
public
# lang( )
Get the value language.
public
# uri( )
Get the URI.
public
# valueResource( )
Get the value resource representation. This is the object of the RDF triple represented by this value.
Methods inherited from Omeka\Api\Representation\AbstractRepresentation
getAdapter(), getDateTime(), getTranslator(), getViewHelper(), primaryMedia(), getServiceLocator(), setServiceLocator()
Properties Summary
protected Omeka\Entity\Value $value
# NULL
protected Omeka\DataType\Manager $dataType
# NULL
Properties inherited from Omeka\Api\Representation\AbstractRepresentation
$translator, $viewHelperManager, $services