4include_once
'./Services/Export/classes/class.ilXmlExporter.php';
20 include_once(
"./Modules/Blog/classes/class.ilBlogDataSet.php");
22 $this->ds->setDSPrefix(
"ds");
30 include_once(
"./Modules/Blog/classes/class.ilBlogPosting.php");
32 foreach ($a_ids as
$id) {
34 foreach (array_keys($pages) as $p) {
35 $pg_ids[] =
"blp:" . $p;
38 if (
sizeof($pg_ids)) {
40 "component" =>
"Services/COPage",
48 foreach ($a_ids as
$id) {
49 include_once(
"./Services/Style/Content/classes/class.ilObjStyleSheet.php");
52 $style_ids[] = $style_id;
55 if (
sizeof($style_ids)) {
57 "component" =>
"Services/Style",
65 "component" =>
"Services/Object",
74 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
75 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
82 "namespace" =>
"http://www.ilias.de/Modules/Blog/4_3",
83 "xsd_file" =>
"ilias_blog_4_3.xsd",
84 "uses_dataset" =>
true,
88 "namespace" =>
"http://www.ilias.de/Modules/Blog/5_0",
89 "xsd_file" =>
"ilias_blog_5_0.xsd",
90 "uses_dataset" =>
true,
An exception for terminatinating execution or to throw for unit testing.
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Get tail dependencies.
static getAllPostings($a_blog_id, $a_limit=1000, $a_offset=0)
Get all postings of blog.
static lookupObjectStyle($a_obj_id)
Lookup object style.
if(!array_key_exists('StateId', $_REQUEST)) $id
foreach($_POST as $key=> $value) $res