depage-xmldb
v2.3.1
XML documents in a relational database
Toggle main menu visibility
Loading...
Searching...
No Matches
DocumentWriterHost.php
Go to the documentation of this file.
1
<?php
2
12
13
namespace
Depage\XmlDb\Interfaces;
14
23
interface
DocumentWriterHost
24
{
30
public
const
SORTKEY_PAD
= 20;
31
39
public
const
SAVE_BATCH_SIZE
= 200;
40
44
public
function
updateLastChange
($timestamp =
null
, $uid =
null
);
45
49
public
function
getParentIdById
($id);
50
54
public
function
getDoctypeHandler
();
55
59
public
function
getSubdocByNodeId
($id, $addIdAttribute =
true
);
60
}
61
62
/* vim:set ft=php sw=4 sts=4 fdm=marker et : */
Depage\XmlDb\Interfaces\DocumentWriterHost
what the write pipeline (Helpers\DocumentWriter) needs from the document it writes: the document meta...
Definition
DocumentWriterHost.php:24
Depage\XmlDb\Interfaces\DocumentWriterHost\getDoctypeHandler
getDoctypeHandler()
the doctype handler governing this document
Depage\XmlDb\Interfaces\DocumentWriterHost\getSubdocByNodeId
getSubdocByNodeId($id, $addIdAttribute=true)
reads a node's subtree as a document (used to copy nodes)
Depage\XmlDb\Interfaces\DocumentWriterHost\getParentIdById
getParentIdById($id)
db-id of the parent of a node, false if the node does not exist
Depage\XmlDb\Interfaces\DocumentWriterHost\updateLastChange
updateLastChange($timestamp=null, $uid=null)
marks the document as changed; has to be called after every write
Depage\XmlDb\Interfaces\DocumentWriterHost\SORTKEY_PAD
const SORTKEY_PAD
number of decimal digits used for the position part of the recursive CTE sortkey; limits the tree dep...
Definition
DocumentWriterHost.php:30
Depage\XmlDb\Interfaces\DocumentWriterHost\SAVE_BATCH_SIZE
const SAVE_BATCH_SIZE
maximum number of nodes written with a single statement; the write pipeline inserts nodes in batches ...
Definition
DocumentWriterHost.php:39
Interfaces
DocumentWriterHost.php
Generated on
for depage-xmldb by
doxygen
1.18.0
For an overview of all docs, go to
docs.depage.net