Phraseanet PHP SDK API
Class

PhraseanetSDK\Entity\BasketValidationChoice

class BasketValidationChoice extends AbstractEntity

Methods

__construct(EntityManager $em)

from AbstractEntity
BasketValidationParticipant getValidationUser()

Get the validation user

setValidationUser(BasketValidationParticipant $validationUser)

Boolean|null getAgreement()

Get the user agreement

setAgreement($agreement)

DateTime getUpdatedOn()

Get last update date

setUpdatedOn(DateTime $updatedOn)

string getNote()

Get the user annotation

setNote($note)

Details

in AbstractEntity at line 21
final public __construct(EntityManager $em)

Parameters

EntityManager $em

at line 26
public BasketValidationParticipant getValidationUser()

Get the validation user

at line 31
public setValidationUser(BasketValidationParticipant $validationUser)

Parameters

BasketValidationParticipant $validationUser

at line 45
public Boolean|null getAgreement()

Get the user agreement

- null : no response yet
- true : accepted
- false: rejected

Return Value

Boolean|null

at line 50
public setAgreement($agreement)

Parameters

$agreement

at line 60
public DateTime getUpdatedOn()

Get last update date

Return Value

DateTime

at line 65
public setUpdatedOn(DateTime $updatedOn)

Parameters

DateTime $updatedOn

at line 75
public string getNote()

Get the user annotation

Return Value

string

at line 80
public setNote($note)

Parameters

$note