X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Doctrine tool for generating entities from existing tables (https://forum.x-cart.com/showthread.php?t=73932)

BurtonTech 05-02-2016 05:17 PM

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!

qualiteam 05-03-2016 09:41 PM

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


All times are GMT -8. The time now is 12:56 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.