projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #5851 - download old offer sheet
[Pman.Core]
/
RooTrait.php
diff --git
a/RooTrait.php
b/RooTrait.php
index
69a8355
..
3f0f4d4
100644
(file)
--- a/
RooTrait.php
+++ b/
RooTrait.php
@@
-92,7
+92,7
@@
trait Pman_Core_RooTrait {
if (!is_array($id) && empty($id)) {
if (method_exists($x, 'toRooSingleArray')) {
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')) {
}
if (method_exists($x, 'toRooArray')) {
@@
-132,7
+132,7
@@
trait Pman_Core_RooTrait {
}
// different symantics on all these calls??
if (method_exists($x, 'toRooSingleArray')) {
}
// 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));
}
if (method_exists($x, 'toRooArray')) {
$this->jok($x->toRooArray($req));
@@
-159,8
+159,6
@@
trait Pman_Core_RooTrait {
'distinct' => $distinct
));
'distinct' => $distinct
));
- print_R($do);exit;
-
$this->countWhat = $ret['count'];
$this->cols = $ret['cols'];
$this->colsJname = $ret['join_names'];
$this->countWhat = $ret['count'];
$this->cols = $ret['cols'];
$this->colsJname = $ret['join_names'];
@@
-173,7
+171,7
@@
trait Pman_Core_RooTrait {
{
if (method_exists($x, 'applyFilters')) {
// DB_DataObject::debugLevel(1);
{
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;
}
}
return;
}
}
@@
-312,7
+310,7
@@
trait Pman_Core_RooTrait {
return;
}
return;
}
- if (
Pman
::$permitError) {
+ if (
self
::$permitError) {
return;
return;
@@
-370,7
+368,7
@@
trait Pman_Core_RooTrait {
if (!method_exists($obj, 'checkPerm')) {
return true;
}
if (!method_exists($obj, 'checkPerm')) {
return true;
}
- if ($obj->checkPerm($lvl, $this->
getAuthUser()
, $req)) {
+ if ($obj->checkPerm($lvl, $this->
authUser
, $req)) {
return true;
}
return true;
}