Esempio n. 1
0
 public function __construct($options = null)
 {
     if (!function_exists('gd_info')) {
         throw new Zend_Barcode_Renderer_Exception('Zend_Barcode_Renderer_Image requires the GD extension');
     }
     parent::__construct($options);
 }
Esempio n. 2
0
File: Image.php Progetto: Kliwer/lms
 public function __construct($options = null)
 {
     if (!function_exists('gd_info')) {
         require_once LIB_DIR . '/Zend/Barcode/Renderer/Exception.php';
         throw new Zend_Barcode_Renderer_Exception('Zend_Barcode_Renderer_Image requires the GD extension');
     }
     parent::__construct($options);
 }
Esempio n. 3
0
File: Svg.php Progetto: netvlies/zf
 /**
  * Draw the barcode in the rendering resource
  * @return mixed
  */
 public function draw()
 {
     parent::draw();
     $this->_resource->appendChild($this->_rootElement);
     return $this->_resource;
 }