added calendar-specific function for searching courses by title to php course model