projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b90b66c
)
DataObjects/Projects.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 14 Jun 2010 06:14:42 +0000
(14:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 14 Jun 2010 06:14:42 +0000
(14:14 +0800)
DataObjects/Projects.php
patch
|
blob
|
history
diff --git
a/DataObjects/Projects.php
b/DataObjects/Projects.php
index
ae11e22
..
5668e71
100644
(file)
--- a/
DataObjects/Projects.php
+++ b/
DataObjects/Projects.php
@@
-348,6
+348,13
@@
class Pman_Core_DataObjects_Projects extends DB_DataObject
}
+ function client()
+ {
+ $c = DB_DataObject::factory('Companies');
+ $c->get($this->client_id);
+ return $c;
+ }
+
/**
* check who is trying to access this. false == access denied..
*/