projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58c55d5
)
DataObjects/Office.php
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Jan 2013 08:48:52 +0000
(16:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Jan 2013 08:48:52 +0000
(16:48 +0800)
DataObjects/Office.php
patch
|
blob
|
history
diff --git
a/DataObjects/Office.php
b/DataObjects/Office.php
index
f0f130c
..
7b7d53f
100644
(file)
--- a/
DataObjects/Office.php
+++ b/
DataObjects/Office.php
@@
-31,17
+31,7
@@
class Pman_Core_DataObjects_Office extends DB_DataObject
$this->selectAdd(" i18n_translate('c' , {$tn }.country, 'en') as office_id_country_name");
}
- function joinAddCountryWithPerson()
- {
- $this->_join .= "
- LEFT JOIN
- i18n AS join_country
- ON
- (join_country.lkey = Office.country AND join_country.inlang = 'en')
- ";
- $item = DB_DataObject::Factory('I18n');
- $this->selectAs($item, 'country_id_%s', 'join_country');
- }
+
function toEventString() {
return $this->name;
}