ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilSCORM2004PageNode. More...
Public Member Functions | |
__construct ($a_slm_object, $a_id=0) | |
Constructor public. More... | |
__destruct () | |
Destructor. More... | |
read () | |
Read data from database. More... | |
create ($a_upload=false, $a_layout_id=0) | |
Create Scorm Page. More... | |
delete ($a_delete_meta_data=true) | |
Delete Scorm Page. More... | |
copy ($a_target_slm) | |
copy page node More... | |
& | copyToOtherContObject (&$a_cont_obj) |
copy a page to another content object (learning module / dlib book) More... | |
assignPageObject (&$a_page_obj) | |
Assign page object. More... | |
& | getPageObject () |
Get assigned page object. More... | |
setId ($a_id) | |
Set id. More... | |
getId () | |
Get id. More... | |
setAlias ($a_is_alias) | |
Set wether page object is an alias. More... | |
isAlias () | |
setOriginID ($a_id) | |
getOriginID () | |
getMediaObjectIds () | |
get ids of all media objects within the page More... | |
getFileItemIds () | |
get ids of all file items within the page More... | |
Public Member Functions inherited from ilSCORM2004Node | |
__construct ($a_slm_object, $a_id=0) | |
setTitle ($a_title) | |
Set title. More... | |
getTitle () | |
Get title. More... | |
setDescription ($a_description) | |
Set description. More... | |
getDescription () | |
Get description. More... | |
setType ($a_type) | |
Set type. More... | |
getType () | |
Get type. More... | |
setSLMId ($a_slm_id) | |
Set ID of parent Scorm Learning Module Object. More... | |
getSLMId () | |
Get ID of parent Scorm Learning Module Object. More... | |
setSLMObject ($a_slm_obj) | |
Set Scorm Learning Module Object. More... | |
getSLMObject () | |
Get scorm learning module object. More... | |
getContentObject () | |
Get Scorm Learning Module Object. More... | |
setId ($a_id) | |
Set Node ID. More... | |
getId () | |
Get Node ID. More... | |
getImportId () | |
Set Import ID. More... | |
setImportId ($a_id) | |
Get Import ID. More... | |
read () | |
Read Data of Node. More... | |
MDUpdateListener ($a_element) | |
Meta data update listener. More... | |
createMetaData () | |
create meta data entry More... | |
updateMetaData () | |
update meta data entry More... | |
deleteMetaData () | |
delete meta data entry More... | |
setDataRecord ($a_record) | |
this method should only be called by class ilSCORM2004NodeFactory More... | |
create ($a_upload=false) | |
Create Node. More... | |
update () | |
Update Node. More... | |
delete () | |
Delete Node. More... | |
getObjectives () | |
deleteSeqInfo () | |
parentHasSeqTemplate () | |
exportAsScorm12 () | |
exportAsScorm13 () | |
Static Public Member Functions | |
static | copyPageFromLM ($a_target_slm, $a_lm_page) |
Copy page from learning module. More... | |
Static Public Member Functions inherited from ilSCORM2004Node | |
static | _lookupTitle ($a_obj_id) |
Lookup Title. More... | |
static | _lookupType ($a_obj_id) |
Lookup Type. More... | |
static | _writeTitle ($a_obj_id, $a_title) |
Write Title. More... | |
static | _writeImportId ($a_id, $a_import_id) |
Write import ID. More... | |
static | _getIdForImportId ($a_import_id) |
Get Node ID for import ID (static) More... | |
static | _exists ($a_id) |
Checks wether a node exists. More... | |
static | _deleteAllSLMNodes ($a_slm_object) |
Delete all nodes of Scorm Learning Module. More... | |
static | _lookupSLMID ($a_id) |
Lookup Scorm Learning Module ID for node id. More... | |
static | putInTree ($a_obj, $a_parent_id="", $a_target_node_id="") |
put this object into content object tree More... | |
static | getTree ($a_slm_obj_id) |
Get scorm module editing tree. More... | |
static | clipboardCopy ($a_slm_obj_id, $a_ids) |
Copy a set of chapters/pages/scos into the clipboard. More... | |
static | clipboardCut ($a_slm_obj_id, $a_ids) |
Cut and copy a set of chapters/pages into the clipboard. More... | |
static | uniqueTypesCheck ($a_items) |
Check for unique types (all pages or all chapters or all scos) More... | |
static | insertPageClip ($a_slm_obj) |
Insert pages from clipboard. More... | |
static | insertAssetClip ($a_slm_obj, $a_type="ass") |
Insert assets from clipboard. More... | |
static | insertScoClip ($a_slm_obj) |
Insert scos from clipboard. More... | |
static | insertChapterClip ($a_slm_obj, $a_as_sub=false) |
Insert Chapter from clipboard. More... | |
static | pasteTree ($a_target_slm, $a_item_id, $a_parent_id, $a_target, $a_insert_time, &$a_copied_nodes, $a_as_copy=false, $a_from_clipboard=true, $a_source_parent_type="") |
Paste item (tree) from clipboard or other learning module to target scorm learning module. More... | |
Data Fields | |
$id | |
$page_object | |
Data Fields inherited from ilSCORM2004Node | |
$slm_id | |
$type | |
$id | |
$slm_object | |
Class ilSCORM2004PageNode.
Handles Pages for SCORM 2004 Editing
Note: This class has a member variable that contains an instance of class ilSCORM2004Page and provides the method getPageObject() to access this instance. ilSCORM2004Page handles page objects and their content.
Definition at line 27 of file class.ilSCORM2004PageNode.php.
ilSCORM2004PageNode::__construct | ( | $a_slm_object, | |
$a_id = 0 |
|||
) |
Constructor public.
Definition at line 36 of file class.ilSCORM2004PageNode.php.
References array, read(), and ilSCORM2004Node\setType().
ilSCORM2004PageNode::__destruct | ( | ) |
Destructor.
Definition at line 54 of file class.ilSCORM2004PageNode.php.
ilSCORM2004PageNode::assignPageObject | ( | & | $a_page_obj | ) |
Assign page object.
object | $a_page_obj | page object |
Definition at line 208 of file class.ilSCORM2004PageNode.php.
ilSCORM2004PageNode::copy | ( | $a_target_slm | ) |
copy page node
Definition at line 111 of file class.ilSCORM2004PageNode.php.
References ilSCORM2004Node\getDescription(), getId(), ilSCORM2004Node\getSLMId(), ilSCORM2004Node\getTitle(), and ilSCORM2004Node\getType().
|
static |
Copy page from learning module.
Definition at line 146 of file class.ilSCORM2004PageNode.php.
References ilMD\cloneMD(), and getPageObject().
Referenced by ilSCORM2004Node\pasteTree().
& ilSCORM2004PageNode::copyToOtherContObject | ( | & | $a_cont_obj | ) |
copy a page to another content object (learning module / dlib book)
Definition at line 175 of file class.ilSCORM2004PageNode.php.
ilSCORM2004PageNode::create | ( | $a_upload = false , |
|
$a_layout_id = 0 |
|||
) |
Create Scorm Page.
boolean | Upload Mode |
Definition at line 77 of file class.ilSCORM2004PageNode.php.
References getId(), ilSCORM2004Node\getSLMId(), and ilPageObject\setId().
ilSCORM2004PageNode::delete | ( | $a_delete_meta_data = true | ) |
Delete Scorm Page.
boolean | Delete also metadata. |
Definition at line 101 of file class.ilSCORM2004PageNode.php.
ilSCORM2004PageNode::getFileItemIds | ( | ) |
get ids of all file items within the page
note: this method must be called afer exportXMLPageContent
Definition at line 285 of file class.ilSCORM2004PageNode.php.
ilSCORM2004PageNode::getId | ( | ) |
Get id.
Definition at line 240 of file class.ilSCORM2004PageNode.php.
References $id.
Referenced by copy(), and create().
ilSCORM2004PageNode::getMediaObjectIds | ( | ) |
get ids of all media objects within the page
note: this method must be called afer exportXMLPageContent
Definition at line 275 of file class.ilSCORM2004PageNode.php.
ilSCORM2004PageNode::getOriginID | ( | ) |
Definition at line 265 of file class.ilSCORM2004PageNode.php.
& ilSCORM2004PageNode::getPageObject | ( | ) |
Get assigned page object.
Definition at line 219 of file class.ilSCORM2004PageNode.php.
References $page_object.
Referenced by copyPageFromLM().
ilSCORM2004PageNode::isAlias | ( | ) |
Definition at line 253 of file class.ilSCORM2004PageNode.php.
ilSCORM2004PageNode::read | ( | ) |
Read data from database.
Definition at line 65 of file class.ilSCORM2004PageNode.php.
Referenced by __construct().
ilSCORM2004PageNode::setAlias | ( | $a_is_alias | ) |
Set wether page object is an alias.
Definition at line 248 of file class.ilSCORM2004PageNode.php.
ilSCORM2004PageNode::setId | ( | $a_id | ) |
ilSCORM2004PageNode::setOriginID | ( | $a_id | ) |
Definition at line 259 of file class.ilSCORM2004PageNode.php.
ilSCORM2004PageNode::$id |
Definition at line 29 of file class.ilSCORM2004PageNode.php.
Referenced by getId().
ilSCORM2004PageNode::$page_object |
Definition at line 30 of file class.ilSCORM2004PageNode.php.
Referenced by getPageObject().