You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to elastica-...@googlegroups.com
Is posible to use Elastica lib with Zend framework 2?
If it is posible, I would appreciate some example because i'm trying to do with no result.
victor
unread,
Jan 9, 2013, 7:39:32 AM1/9/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to elastica-...@googlegroups.com
Respose to myselft:
Yes, it's possible.
I added it like a new module (with module.php and the other things). To load classes, first generate the autoload_classmap.php with the automatic generator included with zf2 (i have attached my file). Second, in module.php use Zend\Loader\ClassMapAutoloader with this file to map classes. In controller (in my case) imports the namespaces and ready to work. (do not forget to add module to application.config.php)