protected function getTotalQtyItemsOrdered($order) {
        $qty = 0;
        $orderedItems = $order->getItemsCollection();
        foreach ($orderedItems as $item)
        {
            if (!$item->isDummy()) {
                $qty += (int)$item->getQtyOrdered();
            }
        }
        return $qty;
    }
protected function getTotalQtyItemsOrdered($order) {
        $qty = 0;
        $orderedItems = $order->getItemsCollection();
        foreach ($orderedItems as $item)
        {
            if (!$item->isDummy()) {
                $qty += (int)$item->getQtyOrdered();
            }
        }
        return $qty;
    }
protected function getTotalQtyItemsOrdered ( $ order ) { $ qty = 0 ; $ orderedItems = $ order -> getItemsCollection ( ) ; foreach ( $ orderedItems as $ item ) { if ( ! $ item -> isDummy ( ) ) { $ qty += ( int ) $ item -> getQtyOrdered ( ) ; } } return $ qty ; }
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
Returns the total quantity of ordered items of the given order .