You are here

public function TMGMTLocalTaskItem::isClosed in Translation Management Tool 7

Rreturns TRUE if the local task is closed (translated and accepted).

Return value

bool TRUE if the local task item is translated and accepted.

File

translators/tmgmt_local/entity/tmgmt_local.entity.task_item.inc, line 147

Class

TMGMTLocalTaskItem
Entity class for the local task item entity.

Code

public function isClosed() {
  return $this->status == TMGMT_LOCAL_TASK_ITEM_STATUS_CLOSED;
}