class BasketElement extends AbstractEntity
Methods
__construct(EntityManager $em) | from AbstractEntity | |
integer |
getBasketElementId()
The id of the element |
|
setBasketElementId($basketElementId) | ||
integer |
getOrder()
Position of the element in the basket |
|
setOrder($order) | ||
Boolean |
isValidationItem()
Tell whether the basket item is a validation item |
|
setValidationItem($validationItem) | ||
Record |
getRecord()
Get the record associated to the basket item |
|
setRecord(Record $record) | ||
ArrayCollection |
getValidationChoices()
Retrieve the choice of all participants that concern the basket element in a collection PhraseanetSDK\Entity\BasketValidationChoice object |
|
setValidationChoices(ArrayCollection $validationChoices) | ||
string |
getNote()
Get the annotation about the validation of the current authenticated user |
|
setNote($note) | ||
null|boolean |
getAgreement()
Get the agreement of the current authenticated user |
|
setAgreement($agreement) |
Details
in AbstractEntity at line 21
final public
__construct(EntityManager $em)
at line 31
public integer
getBasketElementId()
The id of the element
at line 36
public
setBasketElementId($basketElementId)
at line 46
public integer
getOrder()
Position of the element in the basket
at line 51
public
setOrder($order)
at line 61
public Boolean
isValidationItem()
Tell whether the basket item is a validation item
at line 66
public
setValidationItem($validationItem)
at line 76
public Record
getRecord()
Get the record associated to the basket item
at line 85
public
setRecord(Record $record)
at line 96
public ArrayCollection
getValidationChoices()
Retrieve the choice of all participants that concern the basket element in a collection PhraseanetSDK\Entity\BasketValidationChoice object
at line 101
public
setValidationChoices(ArrayCollection $validationChoices)
at line 111
public string
getNote()
Get the annotation about the validation of the current authenticated user
at line 116
public
setNote($note)
at line 130
public null|boolean
getAgreement()
Get the agreement of the current authenticated user
- null : no response yet
- true : accepted
- false: rejected