if (array_key_exists('adapter',
$adapter)) { $adapter =
$adapter['adapter'
];
} else { throw new Zend_Validate_Exception("Missing option 'adapter'"
);
} } $this->
setAdapter($adapter,
$options);
if ($checksum !== null
) { $this->
setChecksum($checksum);
} } /**
* Returns the set adapter
*
* @return Zend_Validate_Barcode_BarcodeAdapter
*/
public function getAdapter() { return $this->_adapter;
}