Returns a hashed array of courses created by the given user.
Returns a hashed array of the format
$courseId => $courseTitle
Parameters:
API Tags:
Return: | Hashed array of $courseId => $courseTitle OR boolean False if no courses are found. |
Access: | public |
Returns the description of the course
API Tags:
Return: | Course description. |
Access: | public |
Returns the state of openness of the course.
If the course Is Open, this means that any instructor can offer the course. Returns true if the course is open, false if it is not.
API Tags:
Return: | Is Open. |
Access: | public |
Returns the state of public availability of the course.
If the course Is Public, this means that any user can enroll is the course. Returns true if the course is public, false if it is not.
API Tags:
Return: | Is Public. |
Access: | public |
Returns the title of the course.
API Tags:
Return: | Course title. |
Access: | public |
Returns the unique user id of the course's creator
API Tags:
Return: | User Id. |
Access: | public |
If true, the course may be used by other instructors.
API Tags:
Return: | True if open, false if not. |
Access: | public |
If true, the course may be used by any student.
API Tags:
Return: | True if open, false if not. |
Access: | public |
boolean setDescription(
string
$description
)
|
|
Sets the description of the course
Parameters:
string |
$description: |
Course Description |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setIsOpen(
boolean
$bool
)
|
|
Sets the state of openness of the course.
If the course Is Open, this means that any instructor can offer the course.
Parameters:
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setIsPublic(
boolean
$bool
)
|
|
Sets the state of public availability of the course.
True means the course is public, false means it is not.
Parameters:
boolean |
$bool: |
Is Public. |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setTitle(
string
$title
)
|
|
Sets the title of the course.
Parameters:
string |
$title: |
Course Title |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setUserId(
integer
$id
)
|
|
Sets the unique user id of the course's creator.
Parameters:
integer |
$id: |
User Id of the Course Creator. |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |