4include_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"]
An exception for terminatinating execution or to throw for unit testing.
XML writer learning progress.
setTimestamp($a_val)
Set timestamp.
getIncludeRefIds()
Get include ref ids.
getTimestamp()
Get timestamp.
setTypeFilter($a_val)
Set type filter.
addLPInformation()
Add lp information as xml.
getTypeFilter()
Get type filter.
buildHeader()
Build XML header.
setIncludeRefIds($a_val)
Set include ref ids.
__construct($a_add_header)
Constructor.
static _getAllReferences($a_id)
get all reference ids of object
static _lookupType($a_id, $a_reference=false)
lookup object type
xmlEndTag($tag)
Writes an endtag.
xmlClear()
clears xmlStr @access public
xmlHeader()
Writes xml header @access public.
xmlElement($tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)
xmlStartTag($tag, $attrs=null, $empty=false, $encode=true, $escape=true)
Writes a starttag.