4 include_once
"./Services/Xml/classes/class.ilXmlWriter.php";
27 $this->add_header = $a_add_header;
28 parent::__construct();
38 $this->timestamp = $a_val;
58 $this->include_ref_ids = $a_val;
78 $this->type_filter = $a_val;
99 if ($this->add_header) {
147 $q =
"SELECT * FROM ut_lp_marks " .
148 " WHERE status_changed >= " . $ilDB->quote($this->getTimestamp(),
"timestamp")
151 while ($rec = $ilDB->fetchAssoc($set)) {
163 'UserId' => $rec[
"usr_id"],
164 'ObjId' => $rec[
"obj_id"],
165 'RefIds' => implode($ref_ids,
","),
166 'Timestamp' => $rec[
"status_changed"],
167 'LPStatus' => $rec[
"status"]
buildHeader()
Build XML header.
xmlStartTag($tag, $attrs=null, $empty=false, $encode=true, $escape=true)
Writes a starttag.
__construct($a_add_header)
Constructor.
getTimestamp()
Get timestamp.
getIncludeRefIds()
Get include ref ids.
static _getAllReferences($a_id)
get all reference ids of object
xmlEndTag($tag)
Writes an endtag.
setTypeFilter($a_val)
Set type filter.
addLPInformation()
Add lp information as xml.
setIncludeRefIds($a_val)
Set include ref ids.
setTimestamp($a_val)
Set timestamp.
XML writer learning progress.
getTypeFilter()
Get type filter.
xmlHeader()
Writes xml header public.
Create styles array
The data for the language used.
static _lookupType($a_id, $a_reference=false)
lookup object type
xmlElement($tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)
xmlClear()
clears xmlStr public