Url

implements Omeka\Media\Ingester\IngesterInterface
Methods Summary
public
# __construct( Omeka\File\Downloader $downloader , Omeka\File\Validator $validator )
public
public
public
# ingest( Omeka\Entity\Media $media , Omeka\Api\Request $request , Omeka\Stdlib\ErrorStore $errorStore )
Ingest from a URL. Accepts the following non-prefixed keys: + ingest_url: (required) The URL to ingest. The idea is that some URLs contain sensitive data that should not be saved to the database, such as private keys. To preserve the URL, remove sensitive data from the URL and set it to o:source. + store_original: (optional, default true) Whether to store an original file. This is helpful when you want the media to have thumbnails but do not need the original file. {@inheritDoc}

Implementation of

public
# form( Zend\View\Renderer\PhpRenderer $view , array $options = array ( ) )
{@inheritDoc}

Implementation of

Properties Summary
protected Omeka\File\Downloader $downloader
# NULL
protected Omeka\File\Validator $validator
# NULL