View Single Post
Old 09-06-2013, 01:28 PM
  xplorer's Avatar 
xplorer xplorer is offline

X-Cart team
Join Date: Jul 2004
Posts: 925

Default Re: No documentation, no debugging, no knowledge base ....

Originally Posted by BenWeiland
1) What is the best way to check if another module is enabled?

PHP Code:
\XLite\Core\Database::getRepo('XLite\Model\Module')->findOneBy(array('author' => 'Max''name' => 'Test'))->getEnabled() 

Originally Posted by BenWeiland
2) Can we make use of doctrine eventmanager? I would like to make an event listener for some extra logs. What would be the best way to do this?

It depends on what you are looking for. Try these links:

Does it help?
Reply With Quote