scorm-learnpath
[ class tree: scorm-learnpath ] [ index: scorm-learnpath ] [ all elements ]

Class: scormOrganization

Source Location: /main/newscorm/scormOrganization.class.php

Class Overview


Class defining the <organization> tag in an imsmanifest.xml file


Variables

Methods



Class Details

[line 10]
Class defining the <organization> tag in an imsmanifest.xml file



[ Top ]


Class Variables

$identifier =  ''

[line 11]


Type:   mixed


[ Top ]

$items = array()

[line 14]


Type:   mixed


[ Top ]

$metadata =

[line 15]


Type:   mixed


[ Top ]

$structure =  ''

[line 12]


Type:   mixed


[ Top ]

$title =  ''

[line 13]


Type:   mixed


[ Top ]



Class Methods


constructor scormOrganization [line 22]

scormOrganization scormOrganization( [string $type = 'manifest'], mixed &$element)

Class constructor. Depending of the type of construction called ('db' or 'manifest'), will create a scormOrganization

object from database records or from the DOM element given as parameter




Parameters:

string   $type   Type of construction needed ('db' or 'manifest', default = 'manifest')
mixed   &$element   Depending on the type given, DB id for the lp_item or reference to the DOM element

[ Top ]

method get_flat_items_list [line 148]

array get_flat_items_list( )

Get a flat list of items in the organization



Tags:

return:  Array containing an ordered list of all items with their level and all information related to each item


[ Top ]

method get_name [line 164]

string get_name( )

Name getter



Tags:

return:  Name or empty string


[ Top ]

method get_ref [line 176]

string get_ref( )

Reference identifier getter



Tags:

return:  Identifier or empty string


[ Top ]

method set_name [line 188]

void set_name( string $title)

Sets the title element



Parameters:

string   $title   New title to set

[ Top ]


Documentation generated on Wed, 05 Sep 2007 06:15:07 +0200 by phpDocumentor 1.4.0