diff -r 5a6b6e770365 -r 68c69c656a2c web/lib/Zend/Barcode/Renderer/RendererAbstract.php --- a/web/lib/Zend/Barcode/Renderer/RendererAbstract.php Thu May 07 15:10:09 2015 +0200 +++ b/web/lib/Zend/Barcode/Renderer/RendererAbstract.php Thu May 07 15:16:02 2015 +0200 @@ -15,9 +15,9 @@ * @category Zend * @package Zend_Barcode * @subpackage Renderer - * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: RendererAbstract.php 24593 2012-01-05 20:35:02Z matthew $ + * @version $Id$ */ /** @@ -25,7 +25,7 @@ * * @category Zend * @package Zend_Barcode - * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ abstract class Zend_Barcode_Renderer_RendererAbstract @@ -91,8 +91,9 @@ /** * Constructor + * * @param array|Zend_Config $options - * @return void + * @return Zend_Barcode_Renderer_RendererAbstract */ public function __construct($options = null) { @@ -169,7 +170,7 @@ * Manually adjust top position * @param integer $value * @return Zend_Barcode_Renderer - * @throw Zend_Barcode_Renderer_Exception + * @throws Zend_Barcode_Renderer_Exception */ public function setTopOffset($value) { @@ -196,7 +197,7 @@ * Manually adjust left position * @param integer $value * @return Zend_Barcode_Renderer - * @throw Zend_Barcode_Renderer_Exception + * @throws Zend_Barcode_Renderer_Exception */ public function setLeftOffset($value) { @@ -221,7 +222,9 @@ /** * Activate/Deactivate the automatic rendering of exception + * * @param boolean $value + * @return $this */ public function setAutomaticRenderError($value) { @@ -231,9 +234,10 @@ /** * Horizontal position of the barcode in the rendering resource + * * @param string $value * @return Zend_Barcode_Renderer - * @throw Zend_Barcode_Renderer_Exception + * @throws Zend_Barcode_Renderer_Exception */ public function setHorizontalPosition($value) { @@ -258,9 +262,10 @@ /** * Vertical position of the barcode in the rendering resource + * * @param string $value - * @return Zend_Barcode_Renderer - * @throw Zend_Barcode_Renderer_Exception + * @return self + * @throws Zend_Barcode_Renderer_Exception */ public function setVerticalPosition($value) { @@ -287,7 +292,7 @@ * Set the size of a module * @param float $value * @return Zend_Barcode_Renderer - * @throw Zend_Barcode_Renderer_Exception + * @throws Zend_Barcode_Renderer_Exception */ public function setModuleSize($value) { @@ -322,8 +327,10 @@ /** * Set the barcode object + * * @param Zend_Barcode_Object $barcode * @return Zend_Barcode_Renderer + * @throws Zend_Barcode_Renderer_Exception */ public function setBarcode($barcode) { @@ -360,7 +367,7 @@ /** * Check if a barcode object is correctly provided * @return void - * @throw Zend_Barcode_Renderer_Exception + * @throws Zend_Barcode_Renderer_Exception */ protected function _checkBarcodeObject() { @@ -421,7 +428,10 @@ /** * Draw the barcode in the rendering resource + * * @return mixed + * @throws Zend_Exception + * @throws Zend_Barcode_Exception */ public function draw() { @@ -486,7 +496,7 @@ */ require_once 'Zend/Barcode/Renderer/Exception.php'; throw new Zend_Barcode_Renderer_Exception( - 'Unkown drawing command' + 'Unknown drawing command' ); } } @@ -520,13 +530,14 @@ /** * Draw a polygon in the rendering resource - * @param string $text - * @param float $size - * @param array $position - * @param string $font - * @param integer $color - * @param string $alignment - * @param float $orientation + * + * @param string $text + * @param float $size + * @param array $position + * @param string $font + * @param integer $color + * @param string $alignment + * @param float|int $orientation */ abstract protected function _drawText( $text,