ami_models v0.1.6 Ami.CoursePeriod
Link to this section Summary
Functions
Return all open course periods for a given course depending on the passed user's status
Return a List of all open/current public course periods for a given course
Return a List of all open/current community course periods for passed course belonging to the communities the passed user belongs to, as member or moderator
Link to this section Functions
Link to this function
automatic_buddy?(course_period)
Link to this function
community_cp_opened_days_ago(user_id, count)
Link to this function
community_cp_opening_today(user_id)
Link to this function
current_for(course)
Link to this function
currents_for(course)
Link to this function
currents_for(community, course)
Return all open course periods for a given course depending on the passed user's status
Link to this function
enrollments_count(course_period)
Link to this function
fetch_current_public_course_periods_for(course)
Return a List of all open/current public course periods for a given course
Link to this function
fetch_user_communities_current_cps_for(course, user)
Return a List of all open/current community course periods for passed course belonging to the communities the passed user belongs to, as member or moderator
Link to this function
for_learning_lab()
Link to this function
for_on_air_featured_courses()
Link to this function
for_open_on_air_public_courses()
Link to this function
for_open_onair_universalpublic_community_courses()
Link to this function
is_active?(course_period)
Link to this function
oneforall_buddy?(course_period)
Link to this function
open_community_courses_for(user)
Link to this function
public_cp_opening_today()
Link to this function
students_for(course_period)
Link to this function