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;
147 $set = $ilDB->query($q =
"SELECT * FROM ut_lp_marks ".
148 " WHERE status_changed >= ".$ilDB->quote($this->getTimestamp(),
"timestamp")
151 while ($rec = $ilDB->fetchAssoc($set))
165 'UserId' => $rec[
"usr_id"],
166 'ObjId' => $rec[
"obj_id"],
167 'RefIds' => implode($ref_ids,
","),
168 'Timestamp' => $rec[
"status_changed"],
169 'LPStatus' => $rec[
"status"]
buildHeader()
Build XML header.
__construct($a_add_header)
Constructor.
xmlStartTag($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE)
Writes a starttag.
xmlElement($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE)
Writes a basic element (no children, just textual content)
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
xmlClear()
clears xmlStr public