Element index for package dokeos.learnpath
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
top
a
- $attempts
- in file lp_item.class.php, variable lp_item::$attempts
- add_lp
- in file learnpath.class.php, method learnpath::add_lp()
Static admin function allowing addition of a learnpath to a course.
- autosave
- in file learnpath.class.php, method learnpath::autosave()
Autosaves the current results into the database for the whole learnpath
- autosave_item
- in file learnpath.class.php, method learnpath::autosave_item()
Autosaves the current results into the database for the current element
top
c
- $cc
- in file learnpath.class.php, variable learnpath::$cc
- $condition
- in file lp_item.class.php, variable lp_item::$condition
- $current
- in file learnpath.class.php, variable learnpath::$current
- $current_score
- in file learnpath.class.php, variable learnpath::$current_score
- $current_score
- in file lp_item.class.php, variable lp_item::$current_score
- $current_start_time
- in file lp_item.class.php, variable lp_item::$current_start_time
- $current_stop_time
- in file lp_item.class.php, variable lp_item::$current_stop_time
- $current_time_start
- in file learnpath.class.php, variable learnpath::$current_time_start
- $current_time_stop
- in file learnpath.class.php, variable learnpath::$current_time_stop
- close
- in file lp_item.class.php, method lp_item::close()
Closes/stops the item viewing. Finalises runtime values. If required, save to DB.
- close
- in file learnpath.class.php, method learnpath::close()
Closes the current resource
top
top
top
top
g
- get_attempts
- in file lp_item.class.php, method lp_item::get_attempts()
Gets the number of attempts for this user on this item, so far
- get_first
- in file learnpath.class.php, method learnpath::get_first()
Gets the first element URL.
- get_last
- in file learnpath.class.php, method learnpath::get_last()
Gets the last element URL.
- get_next
- in file learnpath.class.php, method learnpath::get_next()
Gets the next resource in queue (url). Also initialises time values for this viewing.
- get_previous
- in file learnpath.class.php, method learnpath::get_previous()
Gets the previous resource in queue (url). Also initialises time values for this viewing
- get_score
- in file lp_item.class.php, method lp_item::get_score()
Gets the score
- get_stats
- in file learnpath.class.php, method learnpath::get_stats()
Returns a usable array of stats related to the current learnpath and user
- get_stats_course
- in file learnpath.class.php, method learnpath::get_stats_course()
Static method. Can be re-implemented by children. Gives an array of statistics for
- get_stats_lp
- in file learnpath.class.php, method learnpath::get_stats_lp()
Static method. Can be re-implemented by children. Gives an array of statistics for
- get_stats_lp_user
- in file learnpath.class.php, method learnpath::get_stats_lp_user()
Static method. Can be re-implemented by children. Gives an array of statistics for the given course, learnpath and user.
- get_stats_user
- in file learnpath.class.php, method learnpath::get_stats_user()
Static method. Can be re-implemented by children. Gives an array of statistics for
- get_status
- in file lp_item.class.php, method lp_item::get_status()
Gets the item status
top
top
l
- $last
- in file learnpath.class.php, variable learnpath::$last
- $log_file
- in file learnpath.class.php, variable learnpath::$log_file
- learnpath
- in file learnpath.class.php, method learnpath::learnpath()
Class constructor. Needs a database handler, a course code and a learnpath id from the database.
- learnpath
- in file learnpath.class.php, class learnpath
Defines the learnpath parent class
- learnpath.class.php
- procedural page learnpath.class.php
- log
- in file learnpath.class.php, method learnpath::log()
Logs a message into a file
- lp_item
- in file lp_item.class.php, class lp_item
lp_item defines items belonging to a learnpath. Each item has a name, a score, a use time and additional
- lp_item
- in file lp_item.class.php, method lp_item::lp_item()
Class constructor. Prepares the learnpath_item for later launch
- lp_item.class.php
- procedural page lp_item.class.php
- lp_list.php
- procedural page lp_list.php
top
top
top
o
- open
- in file lp_item.class.php, method lp_item::open()
Opens/launches the item. Initialises runtime values.
- open
- in file learnpath.class.php, method learnpath::open()
Open a resource = initialise all local variables relative to this resource. Depending on the child class, this might be redefined to allow several behaviours depending on the document type.
top
top
top
top
top