Functions

PIPHP_EvaluateExpression()

PIPHP_EvaluateExpression($expr) 

Parameters

$expr

displays the variable part of the ressource

displayAbstractRessource() 

footer of the html page

displayFooter() 

TODO display the form for $p

displayForm(\unknown_type $p) 

Parameters

$p

\unknown_type

header of the html pae

displayHeader() 

Displays tests summary

displaySummary() 

test function to draw various svg figures

draw() 

Test the existing graph transformation operators

graphTransformations() 

log the HTML headers for the test page

headers() 

This function log the given message msg depending on the LOG_LEVEL value For the moment, it displays message with the echo function and add a </br> at the end

log_msg(string $mes, int $l) 

Parameters

$mes

string

$l

int

log level, DEBUG if not set

Main tests on personnalisation module

mainTest() 

Manage profile $p

manageProfile(\PMDLeProfile $p) 

Parameters

$p

\PMDLeProfile

Test the personnalisation

personnalisation() 

Display a component tree for the Stone $s

testComponent(\Stone $s) 

Parameters

$s

\Stone

PMDLE profile main tests

testPMDLE() 

tests for the pedagogical graph

testPedagogicalGraph() 

tests for the pedagogical ressources

testPedagogicalRessources() 

Log a text representation of the profile $p

testProfile(\PMDLEProfile $p) 

Parameters

$p

\PMDLEProfile

The profile to display

Classes and interfaces

KSourceDataProvider

This interface describes the behaviour of a KSourceDataProvider A KSourceDataProvider should be able to return a value for a given path A KSourceDataProvider is not necessarily a KSource instance

« More »

Component

This class represents a component (composante) in PMDLe A component is a child of a componentTree node or another component node

« More »

ComponentTree

This class represents a component tree (arbre_des_composantes) in PMDLe A component tree is a child of the stone node

« More »

Consequence

This class represents the consequence of a Rule of personnalisation

« More »

DAOgraph

This class implements the DAO design pattern for graph XML data

« More »

DAOpmdle

This class implements the DAO design pattern for PMDLe XML data

« More »

DAOressources

This class implements the DAO design pattern for pedagogical ressources data

« More »

Descriptor

This class describes a Descriptor for Pedagogical Ressource

« More »

Edge

This class describes an Edge in pedagogical graphs objects

« More »

GraphPersonnalisationTest

This class is designed to perform personnalisation tests

« More »

InvalidRessourcePathException

This class describes the behaviour of a InvalidRessourcePathException A InvalidRessourcePathException should be thrown everytime a ressource path can't be resolved It includes the internal path of a ressource data for classes implementing KSourceDataProvider

« More »

KSource

This class represents a knowledge source

« More »

ManageProfile

This class is designed to manage PMDLe profile instances through a graphical user interface

« More »

PMDLEProfile

This class represents a Profile in PMDLe model It contains the data of the structure node in XML representation

« More »

PedagogicalGraph

This class describes a Pedagogical Graph

« More »

PedagogicalRessource

This class describes a Pedagogical Ressource

« More »

Premice

This class represents the premice of a Rule of personnalisation

« More »

Profile

This class represents a generic Profile Uses for grouping only

« More »

Rule

This class represents a Rule of personnalisation It includes the mechanism to apply the rule

« More »

SaxonCall

This class provides access to saxon XSLT2 processor with java php bridge

« More »

Stone

This class represents a stone (brique) in PMDLe A stone is a child of the structure node

« More »

XSLPhpCall

This class manage xsl transformation with php xsl library

« More »

Constants

 

ABSTRACT_RESSOURCE_FILENAME

ABSTRACT_RESSOURCE_FILENAME 
 

DEBUG

DEBUG 
 

KS_DIR

KS_DIR 
 

LOG_LEVEL

LOG_LEVEL 
 

MAINDIR

MAINDIR 
 

NORMAL

NORMAL 
 

REF_GRAPH_DIRECTORY

REF_GRAPH_DIRECTORY 
 

ROOT

ROOT 
 

SAXON_DIR

SAXON_DIR 
 

TMPDIR

TMPDIR 
 

XSL_GRAPH

XSL_GRAPH 
 

XSL_LIB

XSL_LIB 
 

date2

date2 
 

path1

path1 
 

path2

path2 
 

urlG1

urlG1 
 

urlP1

urlP1 
 

urlP2Sauv

urlP2Sauv 
 

urlP3

urlP3 
 

urlR1

urlR1 
 

urlR2

urlR2