Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Form / Annotation / ErrorMessage.php
blobbd502379744ea1d42672174c35bc6a9323f12b9c
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Form\Annotation;
12 /**
13 * ErrorMessage annotation
15 * Allows providing an error message to seed the Input specification for a
16 * given element. The content should be a string.
18 * @Annotation
20 class ErrorMessage extends AbstractStringAnnotation
22 /**
23 * Retrieve the message
25 * @return null|string
27 public function getMessage()
29 return $this->value;