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

Doctrine tool for generating entities from existing tables

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 05-02-2016, 05:17 PM
 
BurtonTech BurtonTech is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 46
 

Default Doctrine tool for generating entities from existing tables

Does anyone know how to use Doctrine in an X-Cart 5 installation to generate entities of existing tables?


This page references a tool but I have no idea how to call it from the command line or write a script to dump the entity class: http://symfony.com/doc/current/cookbook/doctrine/reverse_engineering.html

Thanks!
__________________
X-Cart Gold 4.4.5
X-Cart Ultimate 5.2.22
X-Cart Business 5.3.2.13
X-Payments 3
Reply With Quote
  #2  
Old 05-03-2016, 09:41 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Doctrine tool for generating entities from existing tables

X-Cart 5 uses parts of Symfony (including the ORM library), but not the Symfony framework itself.
Unfortunately, the tool is a part of Symfony, not a part of Doctrine, and it is not included into X-Cart 5.

Here you can find articles on creating entity classes manually:
- http://kb.x-cart.com/display/XDD/Understanding+Models
- http://kb.x-cart.com/display/XDD/Creating+new+entity+--+Introduction+of+editable+ItemsList+in+admin+area
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
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 09:13 AM.

   

 
X-Cart forums © 2001-2020