56 $objId = $objDAV->getObjectId();
57 $nodeId = $objDAV->getNodeId();
63 'obj_id' =>
array(
'integer',$objId),
64 'node_id' =>
array(
'integer',$nodeId),
81 $q =
'DELETE FROM ' . $this->table
82 .
' WHERE obj_id = ' .
$ilDB->quote($objId,
'integer')
83 .
' AND node_id = ' .
$ilDB->quote($nodeId,
'integer')
87 $ilDB->manipulate($q);
90 #$r = $ilDB->query($q); 104 $ilDB = $DIC[
'ilDB'];
106 $objId = $objDAV->getObjectId();
107 $nodeId = $objDAV->getNodeId();
109 $q =
'SELECT value FROM ' . $this->table
110 .
' WHERE obj_id = ' .
$ilDB->quote($objId,
'integer')
111 .
' AND node_id =' .
$ilDB->quote($nodeId,
'integer')
112 .
' AND ns = ' .
$ilDB->quote($namespace,
'text')
113 .
' AND name = ' .
$ilDB->quote($name,
'text')
117 $value =
$row[
'value'];
133 $ilDB = $DIC[
'ilDB'];
135 $objId = $objDAV->getObjectId();
136 $nodeId = $objDAV->getNodeId();
138 $q =
'SELECT ns, name, value' 139 .
' FROM ' . $this->table
140 .
' WHERE obj_id = ' .
$ilDB->quote($objId,
'integer')
141 .
' AND node_id =' .
$ilDB->quote($nodeId,
'integer')
147 'namespace' =>
$row[
'ns'],
148 'name' =>
$row[
'name'],
149 'value' =>
$row[
'value']
179 public function copy($fromObjDAV, $toObjDAV)
182 $ilDB = $DIC[
'ilDB'];
184 $fromObjId = $fromObjDAV->getObjectId();
185 $fromNodeId = $fromObjDAV->getNodeId();
186 $toObjId = $toObjDAV->getObjectId();
187 $toNodeId = $toObjDAV->getNodeId();
189 $q =
'SELECT ns, name, value FROM ' . $this->table
190 .
' WHERE obj_id = ' .
$ilDB->quote($objId,
'integer')
191 .
' AND node_id =' .
$ilDB->quote($nodeId,
'integer');
196 $q2 =
'INSERT INTO ' . $this->table
197 .
' (obj_id, node_id, ns, name, value)' 206 $r2 =
$ilDB->manipulate($q2);
220 $ilias = $DIC[
'ilias'];
222 $ilias->account->getLogin()
223 .
' DAV ilDAVProperties.' . str_replace(
"\n",
";",
$message)
if($err=$client->getError()) $namespace
writelog($message)
Writes a message to the logfile.,.
getAll($objDAV)
Gets all properties from the specified DAV object.
put($objDAV, $namespace, $name, $value)
Puts a property for the specified DAV object.
catch(Exception $e) $message
copy($fromObjDAV, $toObjDAV)
Moves all properties from one dav object to another.
Create styles array
The data for the language used.