Phraseanet PHP SDK API
Class

PhraseanetSDK\Repository\Quarantine

class Quarantine extends AbstractRepository

Methods

__construct(EntityManager $em)

from AbstractRepository
ArrayCollection findByOffset(integer $offsetStart, integer $perPage = 10)

Find a list of quarantine items stating at $offsetStart with $perPage items number

Quarantine findById(integer $id)

Find a quarantine item by its identifier

Details

in AbstractRepository at line 30
public __construct(EntityManager $em)

Parameters

EntityManager $em

at line 29
public ArrayCollection findByOffset(integer $offsetStart, integer $perPage = 10)

Find a list of quarantine items stating at $offsetStart with $perPage items number

Parameters

integer $offsetStart
integer $perPage

Return Value

ArrayCollection

Exceptions

RuntimeException

at line 56
public Quarantine findById(integer $id)

Find a quarantine item by its identifier

Parameters

integer $id The desired id

Return Value

Quarantine

Exceptions

RuntimeException