You are here

public function TMGMTJobItemUICart::removeJobItems in Translation Management Tool 7

Remove job items from the cart.

Parameters

array $job_item_ids: Job items to be removed.

File

ui/includes/tmgmt_ui.cart.inc, line 126
Contains TMGMTJobItemUICart.

Class

TMGMTJobItemUICart
Represents a job item cart.

Code

public function removeJobItems(array $job_item_ids) {
  $this->cart = array_diff($this->cart, $job_item_ids);
}