PHP Class Imbo\Resource\GlobalImages

This resource will let users fetch images based on queries. The following query parameters can be used: page => Page number. Defaults to 1 limit => Limit to a number of images pr. page. Defaults to 20 metadata => Whether or not to include metadata pr. image. Set to 1 to enable from => Unix timestamp to fetch from to => Unit timestamp to fetch to
Author: Espen Hovlandsdal ([email protected])
Inheritance: implements Imbo\Resource\ResourceInterface
Afficher le fichier Open project: imbo/imbo

Méthodes publiques

Méthode Description
getAllowedMethods ( )
getImages ( Imbo\EventManager\EventInterface $event ) Handle GET and HEAD requests
getSubscribedEvents ( )

Method Details

getAllowedMethods() public méthode

public getAllowedMethods ( )

getImages() public méthode

Handle GET and HEAD requests
public getImages ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )