You are here

public function TMGMTJobItemUICart::count in Translation Management Tool 7

Gets count of items in the cart.

Return value

int Number of items in the cart.

File

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

Class

TMGMTJobItemUICart
Represents a job item cart.

Code

public function count() {
  return count($this->cart);
}