You are here

public function TMGMTJobItem::getSourceData in Translation Management Tool 7

Loads the structured source data array from the source.

2 calls to TMGMTJobItem::getSourceData()
TMGMTJobItem::getData in entity/tmgmt.entity.job_item.inc
Array of the data to be translated.
TMGMTJobItem::recalculateStatistics in entity/tmgmt.entity.job_item.inc
Recalculate statistical word-data: pending, translated, reviewed, accepted.

File

entity/tmgmt.entity.job_item.inc, line 333

Class

TMGMTJobItem
Entity class for the tmgmt_job entity.

Code

public function getSourceData() {
  if ($controller = $this
    ->getSourceController()) {
    return $controller
      ->getData($this);
  }
  return array();
}