protected function _checkLock($value)
	{
		switch($value)
		{
			case MShop_Order_Manager_Base_Abstract::LOCK_DISABLE:
			case MShop_Order_Manager_Base_Abstract::LOCK_ENABLE:
				break;
			default:
				throw new MShop_Order_Exception( sprintf( 'Lock flag "%1$d" not within allowed range', $value ) );
		}
	}
protected function _checkLock($value)
	{
		switch($value)
		{
			case MShop_Order_Manager_Base_Abstract::LOCK_DISABLE:
			case MShop_Order_Manager_Base_Abstract::LOCK_ENABLE:
				break;
			default:
				throw new MShop_Order_Exception( sprintf( 'Lock flag "%1$d" not within allowed range', $value ) );
		}
	}
protected function _checkLock ( $ value ) { switch ( $ value ) { case MShop_Order_Manager_Base_Abstract :: LOCK_DISABLE : case MShop_Order_Manager_Base_Abstract :: LOCK_ENABLE : break ; default : throw new MShop_Order_Exception ( sprintf ( 'Lock flag "%1$d" not within allowed range' , $ value ) ) ; } }
Checks if the lock value is a valid constant.

@param integer $value Lock constant
@throws MShop_Order_Exception If given value is invalid
Checks if the lock value is a valid constant .