Search code examples
phpzend-frameworkdecoratoreasyb

How to integrate easybib form Decorators in Zend Framework?


I am newbie to Zend framework. I want to learn Decorators and Bootstrap.

I have downloaded zip file from https://github.com/easybib/EasyBib_Form_Decorator link. I want to integrate easybib form decorators in my zend project, but I dont know how to do exactly this?

Please tell me the steps to integrate this?


Solution

  • Download it, extract the EasyBib Folder to \library\EasyBib in your project. Now add it to your Autoloader in application.ini:

    autoloadernamespaces.3 = "EasyBib_"
    

    After this you can use it with Zend_Form like:

    Class My_Form extends EasyBib_Form {}
    

    See the Examples inside Download package!