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;
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"]
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.
xmlStartTag($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE)
Writes a starttag.
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)