if (!is_array($id) && empty($id)) {
if (method_exists($x, 'toRooSingleArray')) {
- $this->jok($x->toRooSingleArray($this->getAuthUser(), $req));
+ $this->jok($x->toRooSingleArray($this->authUser, $req));
}
if (method_exists($x, 'toRooArray')) {
'columns' => $_columns,
));
- exit;
-
if ($req !== false) {
$this->setFilters($x, $req);
}
}
// different symantics on all these calls??
if (method_exists($x, 'toRooSingleArray')) {
- $this->jok($x->toRooSingleArray($this->getAuthUser(), $req));
+ $this->jok($x->toRooSingleArray($this->authUser, $req));
}
if (method_exists($x, 'toRooArray')) {
$this->jok($x->toRooArray($req));
$excludecolumns = !empty($cfg['exclude']) ? $cfg['exclude'] : array();
$excludecolumns[] = 'passwd'; // we never expose passwords
-
+
$ret = $do->autoJoin(array(
'include' => $onlycolumns,
'exclude' => $excludecolumns,
{
if (method_exists($x, 'applyFilters')) {
// DB_DataObject::debugLevel(1);
- if (false === $x->applyFilters($q, $this->getAuthUser(), $this)) {
+ if (false === $x->applyFilters($q, $this->authUser, $this)) {
return;
}
}
$x->whereAdd("(on_id = $oid OR
on_id IN ( SELECT distinct(id) FROM Documents WHERE original = $o )
)");
- continue;
+ continue 2;
}
$x->on_id = $val;
}
- continue;
+ continue 2;
}
}
if (!empty($q_filtered)) {
return;
}
- if (Pman::$permitError) {
+ if (self::$permitError) {
return;
if (!method_exists($obj, 'checkPerm')) {
return true;
}
- if ($obj->checkPerm($lvl, $this->getAuthUser(), $req)) {
+ if ($obj->checkPerm($lvl, $this->authUser, $req)) {
return true;
}