Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/lesson/importpptlib.php File Reference

Go to the source code of this file.

Data Structures

class  lesson_importppt_form

Namespaces

namespace  mod
 

Local Library of functions for module scorm.


Functions

 lesson_importppt_build_list (array &$matches, $list, &$i, $depth)
 lesson_importppt_isolate_class ($string)
 lesson_importppt_clean_text ($string)
 lesson_create_objects ($pageobjects, $lessonid)

Function Documentation

lesson_create_objects ( pageobjects,
lessonid 
)

Creates objects an object with the page and answers that are to be inserted into the database

Parameters:
array$pageobjects
int$lessonid
Returns:
array

Definition at line 134 of file importpptlib.php.

lesson_importppt_build_list ( array &$  matches,
list,
&$  i,
depth 
)

A recursive function to build a html list

Parameters:
array$matches
string$list
int$i
int$depth
Returns:
string

Definition at line 39 of file importpptlib.php.

Here is the call graph for this function:

This function strips off the random chars that ppt puts infront of bullet lists

Parameters:
string$string
Returns:
string

Definition at line 109 of file importpptlib.php.

Here is the caller graph for this function:

Given an html tag, this function will

Parameters:
string$string
Returns:
string

Definition at line 87 of file importpptlib.php.

Here is the caller graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations