ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilStructreObject. More...
Public Member Functions | |
ilStructureObject (&$a_content_obj, $a_id=0) | |
Constructor public. | |
create ($a_upload=false) | |
delete ($a_delete_meta_data=true) | |
Delete Chapter. | |
copy ($a_target_lm) | |
copy chapter | |
exportXML (&$a_xml_writer, $a_inst, &$expLog) | |
export object to xml (see ilias_co.dtd) | |
exportXMLMetaData (&$a_xml_writer) | |
export structure objects meta data to xml (see ilias_co.dtd) | |
modifyExportIdentifier ($a_tag, $a_param, $a_value) | |
_getPresentationTitle ($a_st_id, $a_include_numbers=false, $a_time_scheduled_activation=false) | |
get presentation title | |
exportXMLPageObjects (&$a_xml_writer, $a_inst=0) | |
export page objects of structure object (see ilias_co.dtd) | |
exportXMLStructureObjects (&$a_xml_writer, $a_inst, &$expLog) | |
export (sub)structure objects of structure object (see ilias_co.dtd) | |
exportFO (&$a_xml_writer) | |
export object to fo | |
exportFOPageObjects (&$a_xml_writer) | |
export page objects of structure object (see ilias_co.dtd) | |
Public Member Functions inherited from ilLMObject | |
ilLMObject (&$a_content_obj, $a_id=0) | |
MDUpdateListener ($a_element) | |
Meta data update listener. | |
_lookupNID ($a_lm_id, $a_lm_obj_id, $a_type) | |
lookup named identifier (ILIAS_NID) | |
createMetaData () | |
create meta data entry | |
updateMetaData () | |
update meta data entry | |
deleteMetaData () | |
delete meta data entry | |
setDataRecord ($a_record) | |
this method should only be called by class ilLMObjectFactory | |
read () | |
setTitle ($a_title) | |
set title of lm object | |
getTitle () | |
get title of lm object | |
_writeTitle ($a_obj_id, $a_title) | |
setDescription ($a_description) | |
getDescription () | |
setType ($a_type) | |
getType () | |
setLMId ($a_lm_id) | |
getLMId () | |
setContentObject (&$a_content_obj) | |
& | getContentObject () |
setId ($a_id) | |
getId () | |
getImportId () | |
setImportId ($a_id) | |
setLayout ($a_val) | |
Set layout. | |
getLayout () | |
Get layout. | |
_writeImportId ($a_id, $a_import_id) | |
write import id to db (static) | |
update () | |
update complete object | |
_isPagePublic ($a_node_id, $a_check_public_mode=false) | |
_getIdForImportId ($a_import_id) | |
get current object id for import id (static) | |
_getAllObjectsForImportId ($a_import_id, $a_in_lm=0) | |
Get all items for an import ID. | |
_exists ($a_id) | |
checks wether a lm content object with specified id exists or not | |
getObjectList ($lm_id, $type="") | |
static | |
_deleteAllObjectData (&$a_cobj) | |
delete all objects of content object (digi book / learning module) | |
_lookupContObjID ($a_id) | |
get learning module / digibook id for lm object | |
clipboardCut ($a_cont_obj_id, $a_ids) | |
Copy a set of chapters/pages into the clipboard. |
Data Fields | |
$is_alias | |
$origin_id | |
$tree | |
Data Fields inherited from ilLMObject | |
$ilias | |
$lm_id | |
$type | |
$id | |
$meta_data | |
$data_record | |
$content_object | |
$title | |
$description | |
$active = true |
Private Member Functions | |
delete_rec (&$a_tree, $a_delete_meta_data=true) | |
Delete sub tree. |
Additional Inherited Members | |
Static Public Member Functions inherited from ilLMObject | |
static | _lookupTitle ($a_obj_id) |
Lookup title. | |
static | _lookupType ($a_obj_id) |
Lookup type. | |
_writePublicAccessStatus ($a_pages, $a_cont_obj_id) | |
update public access flags in lm_data for all pages of a content object | |
static | putInTree ($a_obj, $a_parent_id="", $a_target_node_id="") |
put this object into content object tree | |
static | getTree ($a_cont_obj_id) |
Get learningmodule tree. | |
static | clipboardCopy ($a_cont_obj_id, $a_ids) |
Copy a set of chapters/pages into the clipboard. | |
static | pasteTree ($a_target_lm, $a_item_id, $a_parent_id, $a_target, $a_insert_time, &$a_copied_nodes, $a_as_copy=false) |
Paste item (tree) from clipboard to current lm. | |
static | saveTitles ($a_lm, $a_titles) |
Save titles for lm objects. | |
static | updateInternalLinks ($a_copied_nodes, $a_parent_type="lm") |
Update internal links, after multiple pages have been copied. | |
static | uniqueTypesCheck ($a_items) |
Check for unique types (all pages or all chapters) | |
static | writeLayout ($a_obj_id, $a_layout) |
Write layout setting. | |
static | lookupLayout ($a_obj_id) |
Lookup type. |
Class ilStructreObject.
Handles StructureObjects of ILIAS Learning Modules (see ILIAS DTD)
Definition at line 36 of file class.ilStructureObject.php.
ilStructureObject::_getPresentationTitle | ( | $a_st_id, | |
$a_include_numbers = false , |
|||
$a_time_scheduled_activation = false |
|||
) |
get presentation title
Definition at line 183 of file class.ilStructureObject.php.
References $ilDB, $query, $tree, and DB_FETCHMODE_ASSOC.
Referenced by ilLMTOCExplorer\buildTitle(), ilLMEditorExplorer\buildTitle(), ilTableOfContentsExplorer\buildTitle(), ilObjContentObjectGUI\chapters(), ilLMPresentationGUI\ilLocator(), ilLMPresentationGUI\showPrintView(), ilLMPresentationGUI\showPrintViewSelection(), and ilStructureObjectGUI\subchap().
ilStructureObject::copy | ( | $a_target_lm | ) |
copy chapter
Definition at line 98 of file class.ilStructureObject.php.
References ilLMObject\getDescription(), ilLMObject\getId(), ilLMObject\getLMId(), ilLMObject\getTitle(), ilLMObject\getType(), and ilStructureObject().
ilStructureObject::create | ( | $a_upload = false | ) |
Reimplemented from ilLMObject.
Definition at line 52 of file class.ilStructureObject.php.
ilStructureObject::delete | ( | $a_delete_meta_data = true | ) |
Delete Chapter.
Reimplemented from ilLMObject.
Definition at line 60 of file class.ilStructureObject.php.
References delete_rec(), and ilLMObject\getId().
Referenced by delete_rec().
|
private |
Delete sub tree.
Definition at line 73 of file class.ilStructureObject.php.
References delete(), ilLMObject\getId(), and ilLMObjectFactory\getInstance().
Referenced by delete().
ilStructureObject::exportFO | ( | & | $a_xml_writer | ) |
export object to fo
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 302 of file class.ilStructureObject.php.
References $ilBench, exportFOPageObjects(), and ilLMObject\getTitle().
ilStructureObject::exportFOPageObjects | ( | & | $a_xml_writer | ) |
export page objects of structure object (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 330 of file class.ilStructureObject.php.
References $ilBench, ilLMObject\getContentObject(), and ilLMObject\getId().
Referenced by exportFO().
ilStructureObject::exportXML | ( | & | $a_xml_writer, |
$a_inst, | |||
& | $expLog | ||
) |
export object to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 126 of file class.ilStructureObject.php.
References $ilBench, exportXMLMetaData(), exportXMLPageObjects(), exportXMLStructureObjects(), and ilLMObject\getId().
ilStructureObject::exportXMLMetaData | ( | & | $a_xml_writer | ) |
export structure objects meta data to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 160 of file class.ilStructureObject.php.
References ilLMObject\getId(), ilLMObject\getLMId(), and ilLMObject\getType().
Referenced by exportXML().
ilStructureObject::exportXMLPageObjects | ( | & | $a_xml_writer, |
$a_inst = 0 |
|||
) |
export page objects of structure object (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 237 of file class.ilStructureObject.php.
References $ilBench, ilLMPageObject\_exportXMLAlias(), and ilLMObject\getId().
Referenced by exportXML().
ilStructureObject::exportXMLStructureObjects | ( | & | $a_xml_writer, |
$a_inst, | |||
& | $expLog | ||
) |
export (sub)structure objects of structure object (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 274 of file class.ilStructureObject.php.
References ilLMObject\getContentObject(), ilLMObject\getId(), and ilStructureObject().
Referenced by exportXML().
ilStructureObject::ilStructureObject | ( | & | $a_content_obj, |
$a_id = 0 |
|||
) |
Constructor public.
Definition at line 46 of file class.ilStructureObject.php.
References ilLMObject\ilLMObject(), and ilLMObject\setType().
Referenced by copy(), and exportXMLStructureObjects().
ilStructureObject::modifyExportIdentifier | ( | $a_tag, | |
$a_param, | |||
$a_value | |||
) |
Definition at line 169 of file class.ilStructureObject.php.
References ilLMObject\getId().
ilStructureObject::$is_alias |
Definition at line 38 of file class.ilStructureObject.php.
ilStructureObject::$origin_id |
Definition at line 39 of file class.ilStructureObject.php.
ilStructureObject::$tree |
Definition at line 40 of file class.ilStructureObject.php.
Referenced by _getPresentationTitle().