class Basket extends AbstractEntity
Methods
__construct(EntityManager $em) | from AbstractEntity | |
integer |
getBasketId()
The basket id |
|
setBasketId($id) | ||
string |
getName()
The basket name |
|
setName($name) | ||
string |
getDescription()
The basket description |
|
setDescription($description) | ||
integer|null |
getPusherUsrId()
The id of the user who created the basket when the current basket is a validation basket |
|
setPusherUsrId($pusherUsrId) | ||
Boolean |
isUnread()
Tell whether the basket has been read or not |
|
setUnread($unread) | ||
DateTime |
getCreatedOn()
Creation date |
|
setCreatedOn(DateTime $createdOn) | ||
DateTime |
getUpdatedOn()
Last update date |
|
setUpdatedOn(DateTime $updatedOn) | ||
Boolean |
isValidationBasket()
Tell whether the basket is a validation basket |
|
setValidationBasket($validationBasket) | ||
ArrayCollection|null |
getValidationUsers()
Return a collection of PhraseanetSDK\entity\BasketValidationParticipant object if the basket is a validation basket otherwise it returns null |
|
setValidationUsers(ArrayCollection $validationUsers) | ||
DateTime|null |
getExpiresOn()
The expiration validation date, if the basket is a validation basket |
|
setExpiresOn(DateTime $expiresOn) | ||
string|null |
getValidationInfos()
Get some informations about the validation, if the basket is a validation basket |
|
setValidationInfos($validationInfos) | ||
Boolean|null |
isValidationConfirmed()
Tell whether the validation is confirmed |
|
setValidationConfirmed($validationConfirmed) | ||
Boolean|null |
isValidationInitiator()
Tell whether the current authenticated user initiates the validation process |
|
setValidationInitiator($validationInitiator) |
Details
in AbstractEntity at line 21
final public
__construct(EntityManager $em)
at line 38
public integer
getBasketId()
The basket id
at line 43
public
setBasketId($id)
at line 53
public string
getName()
The basket name
at line 58
public
setName($name)
at line 68
public string
getDescription()
The basket description
at line 73
public
setDescription($description)
at line 84
public integer|null
getPusherUsrId()
The id of the user who created the basket when the current basket is a validation basket
at line 89
public
setPusherUsrId($pusherUsrId)
at line 99
public Boolean
isUnread()
Tell whether the basket has been read or not
at line 104
public
setUnread($unread)
at line 114
public DateTime
getCreatedOn()
Creation date
at line 119
public
setCreatedOn(DateTime $createdOn)
at line 129
public DateTime
getUpdatedOn()
Last update date
at line 134
public
setUpdatedOn(DateTime $updatedOn)
at line 144
public Boolean
isValidationBasket()
Tell whether the basket is a validation basket
at line 149
public
setValidationBasket($validationBasket)
at line 160
public ArrayCollection|null
getValidationUsers()
Return a collection of PhraseanetSDK\entity\BasketValidationParticipant object if the basket is a validation basket otherwise it returns null
at line 165
public
setValidationUsers(ArrayCollection $validationUsers)
at line 175
public DateTime|null
getExpiresOn()
The expiration validation date, if the basket is a validation basket
at line 180
public
setExpiresOn(DateTime $expiresOn)
at line 191
public string|null
getValidationInfos()
Get some informations about the validation, if the basket is a validation basket
at line 196
public
setValidationInfos($validationInfos)
at line 206
public Boolean|null
isValidationConfirmed()
Tell whether the validation is confirmed
at line 211
public
setValidationConfirmed($validationConfirmed)
at line 221
public Boolean|null
isValidationInitiator()
Tell whether the current authenticated user initiates the validation process