Blog export definition.
More...
|
| init () |
|
| getXmlExportTailDependencies ($a_entity, $a_target_release, $a_ids) |
|
| getXmlRepresentation ($a_entity, $a_schema_version, $a_id) |
|
| getValidSchemaVersions ($a_entity) |
|
| __construct () |
| Constructor. More...
|
|
| getXmlRepresentation ($a_entity, $a_schema_version, $a_id) |
| Get xml representation. More...
|
|
| init () |
|
| setExportDirectories ($a_dir_relative, $a_dir_absolute) |
| Export directories. More...
|
|
| getRelativeExportDirectory () |
| Get relative export directory. More...
|
|
| getAbsoluteExportDirectory () |
| Get absolute export directory. More...
|
|
| getXmlExportHeadDependencies ($a_entity, $a_target_release, $a_ids) |
| Get head dependencies. More...
|
|
| getXmlExportTailDependencies ($a_entity, $a_target_release, $a_ids) |
| Get tail dependencies. More...
|
|
| getValidSchemaVersions ($a_entity) |
| Returns schema versions that the component can export to. More...
|
|
| determineSchemaVersion ($a_entity, $a_target_release) |
| Determine schema version. More...
|
|
Blog export definition.
- Author
- Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
- Version
- $Id$
Definition at line 14 of file class.ilBlogExporter.php.
◆ getValidSchemaVersions()
ilBlogExporter::getValidSchemaVersions |
( |
|
$a_entity | ) |
|
Definition at line 52 of file class.ilBlogExporter.php.
56 "namespace" =>
"http://www.ilias.de/Modules/Blog/4_3",
57 "xsd_file" =>
"ilias_blog_4_3.xsd",
58 "uses_dataset" =>
true,
◆ getXmlExportTailDependencies()
ilBlogExporter::getXmlExportTailDependencies |
( |
|
$a_entity, |
|
|
|
$a_target_release, |
|
|
|
$a_ids |
|
) |
| |
Definition at line 25 of file class.ilBlogExporter.php.
References ilBlogPosting\getAllPostings().
27 include_once(
"./Modules/Blog/classes/class.ilBlogPosting.php");
29 foreach ($a_ids as $id)
32 foreach (array_keys($pages) as $p)
34 $pg_ids[] =
"blp:".$p;
40 "component" =>
"Services/COPage",
static getAllPostings($a_blog_id, $a_limit=1000, $a_offset=0)
Get all postings of blog.
◆ getXmlRepresentation()
ilBlogExporter::getXmlRepresentation |
( |
|
$a_entity, |
|
|
|
$a_schema_version, |
|
|
|
$a_id |
|
) |
| |
Definition at line 46 of file class.ilBlogExporter.php.
48 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
49 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
◆ init()
Definition at line 18 of file class.ilBlogExporter.php.
20 include_once(
"./Modules/Blog/classes/class.ilBlogDataSet.php");
22 $this->ds->setDSPrefix(
"ds");
◆ $ds
The documentation for this class was generated from the following file: