15 include_once (
"FDL/Class.Document.php");
22 private $mainSelector;
23 private $selectionItems;
26 foreach ($config as $k => $v) $this->$k = $v;
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;
63 $idoc =
$c->getInternalDocument();
72 if (is_array($this->selectionItems)) {
74 foreach ($this->selectionItems as $eid) {
75 if (isset(
$cc[$eid])) unset(
$cc[$eid]);
77 $err =
simpleQuery($this->dbaccess, sprintf(
"select initid from docread where id=%d", $eid) , $ids,
true,
true);
78 if (isset(
$cc[$ids])) unset(
$cc[$ids]);
getDocsFromIds($dbaccess, $ids, $userid=0)
simpleQuery($dbaccess, $query, &$result=array(), $singlecolumn=false, $singleresult=false, $useStrict=null)
if($file) if($subject==""&&$file) if($subject=="") $err