17 include_once (
"DATA/Class.Document.php");
26 foreach ($config as $k => $v) $this->$k = $v;
27 $this->dbaccess =
getParam(
"FREEDOM_DB");
35 if (strtolower($this->mainSelector) !=
"all") {
36 if (is_array($this->selectionItems)) {
37 return $this->selectionItems;
38 }
else return array();
41 if (is_array(
$cc))
return array_keys(
$cc);
52 if (strtolower($this->mainSelector) !=
"all") {
53 if (is_array($this->selectionItems)) {
57 $idc = $this->collectionId;
60 $idoc =
$c->getInternalDocument();
69 if (is_array($this->selectionItems)) {
71 foreach ($this->selectionItems as $eid) {
72 if (isset(
$cc[$eid])) unset(
$cc[$eid]);
74 $err =
simpleQuery($this->dbaccess, sprintf(
"select initid from docread where id=%d", $eid) , $ids,
true,
true);
75 if (isset(
$cc[$ids])) unset(
$cc[$ids]);