dokeos-backup
[ class tree: dokeos-backup ] [ index: dokeos-backup ] [ all elements ]

Class: Learnpath

Source Location: /main/coursecopy/classes/Learnpath.class.php

Class Overview

Resource
   |
   --Learnpath

A learnpath


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Resource

Resource::Resource()
Create a new Resource
Resource::add_linked_resource()
Add linked resource
Resource::get_id()
Returns the id of this resource.
Resource::get_linked_resources()
Get linked resources
Resource::get_tool()
Get the constant which defines the tool of this resource. This is used in the item_properties table.
Resource::get_type()
Resturns the type of this resource
Resource::is_restored()
Check if this resource is allready restored in the destination course.
Resource::links_to()
Checks if this resource links to a given resource
Resource::set_new_id()
Set the destination id
Resource::show()
Show this resource

Class Details

[line 30]
A learnpath



Tags:

author:  Bart Mollet <bart.mollet@hogent.be>
filesource:  Source Code for this file


[ Top ]


Class Variables

$content_license =

[line 79]

License of the content


Type:   mixed


[ Top ]

$content_local =

[line 75]

Location of the content (local or remote)


Type:   mixed


[ Top ]

$content_maker =

[line 71]

Content editor/publisher


Type:   mixed


[ Top ]

$debug =

[line 91]

Debug level for this lp


Type:   mixed


[ Top ]

$default_encoding =

[line 63]

Default character encoding


Type:   mixed


[ Top ]

$default_view_mod =

[line 59]

View mode by default ('embedded' or 'fullscreen')


Type:   mixed


[ Top ]

$description =

[line 47]

The description


Type:   mixed


[ Top ]

$display_order =

[line 67]

Display order


Type:   mixed


[ Top ]

$force_commit =

[line 55]

Whether additional commits should be forced or not


Type:   mixed


[ Top ]

$items =

[line 95]

The items


Type:   mixed


[ Top ]

$js_lib =

[line 87]

JavaScript library used


Type:   mixed


[ Top ]

$lp_type =

[line 35]

Type of learnpath (can be dokeos (1), scorm (2), aicc (3))


Type:   mixed


[ Top ]

$name =

[line 39]

The name


Type:   mixed


[ Top ]

$path =

[line 51]

Path to the learning path files


Type:   mixed


[ Top ]

$prevent_reinit =

[line 83]

Whether to prevent reinitialisation or not


Type:   mixed


[ Top ]

$ref =

[line 43]

The reference


Type:   mixed


[ Top ]

$visibility =

[line 99]

The learnpath visibility on the homepage


Type:   mixed


[ Top ]



Class Methods


constructor Learnpath [line 122]

Learnpath Learnpath( integer $id, integer $type, string $name, string $path, string $ref, string $description, string $content_local, string $default_encoding, string $default_view_mode, bool $prevent_reinit, bool $force_commit, string $content_maker, integer $display_order, string $js_lib, string $content_license, integer $debug, string $visibility, array $items)

Create a new learnpath



Parameters:

string   $name  
string   $path  
string   $ref  
string   $description  
string   $content_local  
string   $default_encoding  
string   $default_view_mode  
bool   $prevent_reinit  
bool   $force_commit  
string   $content_maker  
integer   $display_order  
string   $js_lib  
string   $content_license  
integer   $debug  
string   $visibility  
array   $items  
integer   $id   ID
integer   $type   Type (1,2,3,...)

[ Top ]

method get_items [line 146]

void get_items( )

Get the items



[ Top ]

method has_item [line 153]

void has_item( $resource)

Check if a given resource is used as an item in this chapter



Parameters:

   $resource  

[ Top ]

method show [line 167]

void show( )

Show this learnpath



Overrides Resource::show() (Show this resource)

[ Top ]


Documentation generated on Thu, 12 Jun 2008 13:57:22 -0500 by phpDocumentor 1.4.1