Api

View helper for direct access to API read and search operations.
extends Zend\View\Helper\AbstractHelper
Methods Summary
public
# __construct( Omeka\Api\Manager $apiManager )
Construct the helper.
public
# searchOne( string $resource , array $data = array ( ) )
Execute a search API request and get the first result. Sets the first result to the response content or null if there is no result. Note that this functionality is not native to the API.
public
# read( string $resource , mixed $id , mixed $data = array ( ) )
Execute a read API request.
Methods inherited from Zend\View\Helper\AbstractHelper
setView(), getView()
Properties Summary
protected Omeka\Api\Manager $apiManager
# NULL
Properties inherited from Zend\View\Helper\AbstractHelper
$view