protected function _checkDeliveryStatus( $value )
	{
		$temp = (int) $value;

		if( $temp < MShop_Order_Item_Abstract::STAT_UNFINISHED || $temp > MShop_Order_Item_Abstract::STAT_RETURNED ) {
			throw new MShop_Order_Exception( sprintf( 'Order delivery status "%1$s" not within allowed range', $value ) );
		}
	}
protected function _checkDeliveryStatus( $value )
	{
		$temp = (int) $value;

		if( $temp < MShop_Order_Item_Abstract::STAT_UNFINISHED || $temp > MShop_Order_Item_Abstract::STAT_RETURNED ) {
			throw new MShop_Order_Exception( sprintf( 'Order delivery status "%1$s" not within allowed range', $value ) );
		}
	}
protected function _checkDeliveryStatus ( $ value ) { $ temp = ( int ) $ value ; if ( $ temp < MShop_Order_Item_Abstract :: STAT_UNFINISHED || $ temp > MShop_Order_Item_Abstract :: STAT_RETURNED ) { throw new MShop_Order_Exception ( sprintf ( 'Order delivery status "%1$s" not within allowed range' , $ value ) ) ; } }
Checks if the given delivery status is a valid constant.

@param integer $value Delivery status constant defined in MShop_Order_Item_Abstract
@throws MShop_Order_Exception If delivery status is invalid
Checks if the given delivery status is a valid constant .