HumHub Documentation (unofficial)

UriRetrieverInterface

Interface for URI retrievers

Tags
author

Sander Coolen sander@jibber.nl

Table of Contents

Methods

getContentType()  : string
Get media content type
retrieve()  : mixed
Retrieve a schema from the specified URI

Methods

getContentType()

Get media content type

public getContentType() : string
Return values
string

retrieve()

Retrieve a schema from the specified URI

public retrieve(string $uri) : mixed
Parameters
$uri : string

URI that resolves to a JSON schema

Tags
throws
ResourceNotFoundException
Return values
mixed

string|null


        
On this page

Search results