KuoteObjects_LearningOfferTaken __construct(
)
|
|
Constructor instantiates $enrollment as a DataObjects_LearningOfferTaken object.
API Tags:
Information Tags:
Removes the object from the datastore based on it's Id
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean get(
integer
$id
)
|
|
Loads the object from the data store by its unique identifier.
Parameters:
integer |
$id: |
Unique identifier of a course in the data store. |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
integer getEnrollmentId(
)
|
|
Returns the Id of the Enrollment of this Learning Offering Taken.
API Tags:
Return: | Learning Id. |
Access: | public |
Returns the unique id of the object
API Tags:
Return: | The objects's unique id |
Access: | public |
integer getLearningOfferingId(
)
|
|
Returns the Id of the Learning Offering of this Learning Offering Taken.
API Tags:
Return: | Learning Id. |
Access: | public |
Returns the timestamp of when this LearningOfferTaken was created.
API Tags:
Return: | The time of creation. |
Access: | public |
Creates a new LearningOfferTaken in the datastore based on the given Learning Offering Id and Enrollment Id.
Parameters:
API Tags:
Return: | True if created successfully, false otherwise. |
Access: | public |
Takes the currently set properties of the object and inserts them into the data store as a new instance with its own unique id.
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setEnrollmentId(
integer
$id
)
|
|
Sets the Id of the Enrollment of this Learning Offering Taken.
Parameters:
integer |
$id: |
The id of the Enrollment of this Learning Offering Taken. |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setLearningOfferingId(
integer
$id
)
|
|
Sets the Id of the Learning Offering of this Learning Offering Taken.
Parameters:
integer |
$id: |
The id of the Learning Offering of this Learning Offering Taken. |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
Updates the datastore to reflect the currently set properties of the object.
Updates by the current Id.
API Tags:
Return: | True on success, false otherwise. |
Access: | public |