Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Documentation and knowledge base

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-27-2013, 03:37 AM
  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 ....

Hi guys!

It has been a while since we posted in this topic the last time.

Just wanted you to know that there is a more robust technical documentation for developers now: https://x-cart.atlassian.net/

Feel free to send me a PM should you have questions not covered by the documentation yet and we will update the site.

Thanks!
Reply With Quote

The following 4 users thank xplorer for this useful post:
ADDISON (08-27-2013), cflsystems (08-27-2013), cherie (08-27-2013), Dongan (08-28-2013)
  #2  
Old 09-06-2013, 05:41 AM
 
BenWeiland BenWeiland is offline
 

Newbie
  
Join Date: Sep 2013
Posts: 1
 

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

Hi,

It seems I cannot make any new threads, only posts. Thats why I will try posting here.

I have two questions!

1) What is the best way to check if another module is enabled?
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?

Hopefully someone can help me out!
__________________
X-Cart Next
Reply With Quote
  #3  
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 ....

Quote:
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() 

Quote:
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:
- http://docs.doctrine-project.org/en/latest/reference/events.html
- http://docs.doctrine-project.org/en/latest/reference/advanced-configuration.html#sql-logger-optional

Does it help?
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:06 PM.

   

 
X-Cart forums © 2001-2020