PHP 클래스 Imbo\Resource\Images

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 query => urlencoded json data to use in the query from => Unix timestamp to fetch from to => Unit timestamp to fetch to
저자: Christer Edvartsen ([email protected])
상속: implements Imbo\Resource\ResourceInterface
파일 보기 프로젝트 열기: imbo/imbo 1 사용 예제들

공개 메소드들

메소드 설명
addImage ( Imbo\EventManager\EventInterface $event ) Handle POST requests
getAllowedMethods ( )
getImages ( Imbo\EventManager\EventInterface $event ) Handle GET and HEAD requests
getSubscribedEvents ( )

메소드 상세

addImage() 공개 메소드

Handle POST requests
public addImage ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface

getAllowedMethods() 공개 메소드

public getAllowedMethods ( )

getImages() 공개 메소드

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

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )