}
+
+
+ function client()
+ {
+ $c = DB_DataObject::factory('core_company');
+ $c->get($this->client_id);
+ return $c;
+ }
+
+
+
+ function team()
+ {
+ $c = DB_DataObject::factory('core_group');
+ $c->get($this->team_id);
+ return $c;
+ }
+
+
+
// DEPRICATED - use userProjects
function getUserProjects($au, $data='id') // COMPANY BASED!!!!
}
- function client()
- {
- $c = DB_DataObject::factory('Companies');
- $c->get($this->client_id);
- return $c;
- }
-
/**
* check who is trying to access this. false == access denied..
*/