public function TMGMTJobItem::getRemoteMappings in Translation Management Tool 7
Gets remote mappings for current job item.
Return value
array List of TMGMTRemote entities.
File
- entity/
tmgmt.entity.job_item.inc, line 894
Class
- TMGMTJobItem
- Entity class for the tmgmt_job entity.
Code
public function getRemoteMappings() {
$query = new EntityFieldQuery();
$query
->entityCondition('entity_type', 'tmgmt_remote');
$query
->propertyCondition('tjiid', $this->tjiid);
$result = $query
->execute();
if (isset($result['tmgmt_remote'])) {
return entity_load('tmgmt_remote', array_keys($result['tmgmt_remote']));
}
return array();
}