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 / View / HelperConfig.php
blob95d49d58f9e3449587dc984791ba01cb583639ad
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\View;
12 use Zend\ServiceManager\ConfigInterface;
13 use Zend\ServiceManager\ServiceManager;
15 /**
16 * Service manager configuration for form view helpers
18 class HelperConfig implements ConfigInterface
20 /**
21 * Pre-aliased view helpers
23 * @var array
25 protected $invokables = array(
26 'form' => 'Zend\Form\View\Helper\Form',
27 'formbutton' => 'Zend\Form\View\Helper\FormButton',
28 'formcaptcha' => 'Zend\Form\View\Helper\FormCaptcha',
29 'captchadumb' => 'Zend\Form\View\Helper\Captcha\Dumb',
30 'formcaptchadumb' => 'Zend\Form\View\Helper\Captcha\Dumb',
31 'captchafiglet' => 'Zend\Form\View\Helper\Captcha\Figlet',
32 'formcaptchafiglet' => 'Zend\Form\View\Helper\Captcha\Figlet',
33 'captchaimage' => 'Zend\Form\View\Helper\Captcha\Image',
34 'formcaptchaimage' => 'Zend\Form\View\Helper\Captcha\Image',
35 'captcharecaptcha' => 'Zend\Form\View\Helper\Captcha\ReCaptcha',
36 'formcaptcharecaptcha' => 'Zend\Form\View\Helper\Captcha\ReCaptcha',
37 'formcheckbox' => 'Zend\Form\View\Helper\FormCheckbox',
38 'formcollection' => 'Zend\Form\View\Helper\FormCollection',
39 'formcolor' => 'Zend\Form\View\Helper\FormColor',
40 'formdate' => 'Zend\Form\View\Helper\FormDate',
41 'formdatetime' => 'Zend\Form\View\Helper\FormDateTime',
42 'formdatetimelocal' => 'Zend\Form\View\Helper\FormDateTimeLocal',
43 'formdatetimeselect' => 'Zend\Form\View\Helper\FormDateTimeSelect',
44 'formdateselect' => 'Zend\Form\View\Helper\FormDateSelect',
45 'formelement' => 'Zend\Form\View\Helper\FormElement',
46 'formelementerrors' => 'Zend\Form\View\Helper\FormElementErrors',
47 'formemail' => 'Zend\Form\View\Helper\FormEmail',
48 'formfile' => 'Zend\Form\View\Helper\FormFile',
49 'formfileapcprogress' => 'Zend\Form\View\Helper\File\FormFileApcProgress',
50 'formfilesessionprogress' => 'Zend\Form\View\Helper\File\FormFileSessionProgress',
51 'formfileuploadprogress' => 'Zend\Form\View\Helper\File\FormFileUploadProgress',
52 'formhidden' => 'Zend\Form\View\Helper\FormHidden',
53 'formimage' => 'Zend\Form\View\Helper\FormImage',
54 'forminput' => 'Zend\Form\View\Helper\FormInput',
55 'formlabel' => 'Zend\Form\View\Helper\FormLabel',
56 'formmonth' => 'Zend\Form\View\Helper\FormMonth',
57 'formmonthselect' => 'Zend\Form\View\Helper\FormMonthSelect',
58 'formmulticheckbox' => 'Zend\Form\View\Helper\FormMultiCheckbox',
59 'formnumber' => 'Zend\Form\View\Helper\FormNumber',
60 'formpassword' => 'Zend\Form\View\Helper\FormPassword',
61 'formradio' => 'Zend\Form\View\Helper\FormRadio',
62 'formrange' => 'Zend\Form\View\Helper\FormRange',
63 'formreset' => 'Zend\Form\View\Helper\FormReset',
64 'form_reset' => 'Zend\Form\View\Helper\FormReset',
65 'formrow' => 'Zend\Form\View\Helper\FormRow',
66 'form_row' => 'Zend\Form\View\Helper\FormRow',
67 'formsearch' => 'Zend\Form\View\Helper\FormSearch',
68 'formselect' => 'Zend\Form\View\Helper\FormSelect',
69 'formsubmit' => 'Zend\Form\View\Helper\FormSubmit',
70 'formtel' => 'Zend\Form\View\Helper\FormTel',
71 'formtext' => 'Zend\Form\View\Helper\FormText',
72 'formtextarea' => 'Zend\Form\View\Helper\FormTextarea',
73 'formtime' => 'Zend\Form\View\Helper\FormTime',
74 'formurl' => 'Zend\Form\View\Helper\FormUrl',
75 'formweek' => 'Zend\Form\View\Helper\FormWeek',
78 /**
79 * Configure the provided service manager instance with the configuration
80 * in this class.
82 * Adds the invokables defined in this class to the SM managing helpers.
84 * @param ServiceManager $serviceManager
85 * @return void
87 public function configureServiceManager(ServiceManager $serviceManager)
89 foreach ($this->invokables as $name => $service) {
90 $serviceManager->setInvokableClass($name, $service);