function barcode_plugin_max_length in Barcode 6.2
Same name and namespace in other branches
- 7.2 includes/barcode.plugins.inc \barcode_plugin_max_length()
2 calls to barcode_plugin_max_length()
- barcodefield_process in ./
barcodefield.module - Process an individual element.
- barcode_process in ./
barcode.module - Process an individual barcode element.
File
- includes/
barcode.plugins.inc, line 56 - Code to load barcode symbology plugins
Code
function barcode_plugin_max_length($encoding_name) {
$plugin = barcode_load_plugin($encoding_name);
$max_length_function = 'barcode_' . $plugin . '_max_length';
if (function_exists($max_length_function)) {
return $max_length_function($encoding_name);
}
}