original_string: protected function getTotalQtyItemsOrdered($order) {
          $qty = 0;
          $orderedItems = $order->getItemsCollection();
          foreach ($orderedItems as $item)
          {
              if (!$item->isDummy()) {
                  $qty += (int)$item->getQtyOrdered();
              }
          }
          return $qty;
      }
code: protected function getTotalQtyItemsOrdered($order) {
          $qty = 0;
          $orderedItems = $order->getItemsCollection();
          foreach ($orderedItems as $item)
          {
              if (!$item->isDummy()) {
                  $qty += (int)$item->getQtyOrdered();
              }
          }
          return $qty;
      }
code_tokens: protected function getTotalQtyItemsOrdered ( $ order ) { $ qty = 0 ; $ orderedItems = $ order -> getItemsCollection ( ) ; foreach ( $ orderedItems as $ item ) { if ( ! $ item -> isDummy ( ) ) { $ qty += ( int ) $ item -> getQtyOrdered ( ) ; } } return $ qty ; }
docstring: Returns the total quantity of ordered items of the given order.
  
  @param Mage_Sales_Model_Order $order The order to return info from
  @return int The total quantity of ordered items
docstring_tokens: Returns the total quantity of ordered items of the given order .