Phraseanet PHP SDK API
Class

PhraseanetSDK\Repository\Basket

class Basket extends AbstractRepository

Methods

__construct(EntityManager $em)

from AbstractRepository
ArrayCollection findByRecord(integer $databoxId, integer $recordId)

Find all baskets that contains the provided record

ArrayCollection findAll()

Find all baskets

Details

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

Parameters

EntityManager $em

at line 27
public ArrayCollection findByRecord(integer $databoxId, integer $recordId)

Find all baskets that contains the provided record

Parameters

integer $databoxId The record databox id
integer $recordId The record id

Return Value

ArrayCollection

Exceptions

RuntimeException

at line 50
public ArrayCollection findAll()

Find all baskets

Return Value

ArrayCollection

Exceptions

RuntimeException